MCPcopy Create free account
hub / github.com/effect-app/libs / ToolCallPart

Function ToolCallPart

repos/effect/packages/effect/src/unstable/ai/Response.ts:1400–1411  ·  view source on GitHub ↗
(
  name: Name,
  params: Params
)

Source from the content-addressed store, hash-verified

1398 /**
1399 * Whether the tool was executed by the provider (true) or framework (false).
1400 */
1401 readonly providerExecuted?: boolean | undefined
1402}
1403
1404/**
1405 * Represents provider-specific metadata that can be associated with a
1406 * `ToolCallPart` through module augmentation.
1407 *
1408 * @category configuration
1409 * @since 4.0.0
1410 */
1411export interface ToolCallPartMetadata extends ProviderMetadata {}
1412
1413/**
1414 * Creates a Schema for tool call parts with specific tool name and parameters.

Callers 3

AllPartsFunction · 0.70
PartFunction · 0.70
StreamPartFunction · 0.70

Calls 3

annotateMethod · 0.65
pipeMethod · 0.65
succeedMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…