Skip to content

Interface: ToolExecutionResult ​

Defined in: ports/tool-execution-result.ts:6

Structured result payload returned by a ToolDriver.execute or ServiceSession.invokeTool call.

Contains the serialized string output presented to the model and an optional error flag.

Properties ​

PropertyModifierTypeDescriptionDefined in
contentreadonlystringSerialized text or JSON string output returned to the model as a tool_result.ports/tool-execution-result.ts:8
isError?readonlybooleanOptional flag indicating that the tool invocation failed or was denied.ports/tool-execution-result.ts:10

Released under the MIT License.