Skip to content

Interface: CanonicalToolCall ​

Defined in: ports/canonical-message.ts:6

Vendor-neutral tool call invocation block inside a CanonicalMessage.

Normalizes provider-specific tool call identifiers, function names, and JSON argument strings.

Properties ​

PropertyModifierTypeDescriptionDefined in
argsJsonreadonlystringRaw JSON-serialized tool arguments object.ports/canonical-message.ts:12
idreadonlystringUnique wire-level identifier for this tool call (callId).ports/canonical-message.ts:8
namereadonlystringName of the tool invoked by the assistant.ports/canonical-message.ts:10

Released under the MIT License.