Package: @effect/ai
Module: Prompt
Encoded representation of tool call parts for serialization.
Signature
export interface ToolCallPartEncoded extends BasePartEncoded<"tool-call", ToolCallPartOptions> {
/**
* Unique identifier for this tool call.
*/
readonly id: string
/**
* Name of the tool to invoke.
*/
readonly name: string
/**
* Parameters to pass to the tool.
*/
readonly params: unknown
/**
* Whether the tool was executed by the provider (true) or framework (false).
*/
readonly providerExecuted?: boolean | undefined
}
Since v1.0.0