Skip to content

Interface: CanonicalToolResult ​

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

Vendor-neutral tool execution result block inside a CanonicalMessage.

Pairs a completed or rejected tool execution back to its originating CanonicalToolCall.id.

Properties ​

PropertyModifierTypeDescriptionDefined in
callIdreadonlystringIdentifier of the CanonicalToolCall paired by this result.ports/canonical-message.ts:22
contentreadonlystringSerialized text output or error message returned by the tool.ports/canonical-message.ts:24
isErrorreadonlybooleanWhether the tool execution resulted in an error (true maps to wire-level error markers).ports/canonical-message.ts:26

Released under the MIT License.