Function
runInvalid
(p: ToolProps<typeof InvalidTool>)
Source from the content-addressed store, hash-verified
| 424 | } |
| 425 | |
| 426 | function runInvalid(p: ToolProps<typeof InvalidTool>): ToolInline { |
| 427 | return { |
| 428 | icon: "✗", |
| 429 | title: text(p.frame.state.title) || "Invalid Tool", |
| 430 | mode: "block", |
| 431 | body: p.frame.status === "completed" ? text(p.frame.state.output) : undefined, |
| 432 | } |
| 433 | } |
| 434 | |
| 435 | function runBatch(p: ToolProps): ToolInline { |
| 436 | const calls = list(dict(p.input).tool_calls).length |
Callers
nothing calls this directly
Tested by
no test coverage detected