ToolRenderContext
Defined in: react/components/agent/tool-render.tsx:15
Everything a ToolRenderer needs to render one tool invocation. data
is the tool-specific payload the host attaches — a renderer registered for a
given tool knows its shape and casts accordingly.
Properties
Section titled “Properties”
optionalargs?:string
Defined in: react/components/agent/tool-render.tsx:19
Raw argument string (the command, the file path, …) shown in the header.
optionaldata?:any
Defined in: react/components/agent/tool-render.tsx:23
Tool-specific payload (command + output, a diff, file content, …).
name:
string
Defined in: react/components/agent/tool-render.tsx:17
Tool name, used to pick the renderer.
status?
Section titled “status?”
optionalstatus?:ToolCallStatus
Defined in: react/components/agent/tool-render.tsx:21
Execution status.