Skip to content
roguelite labsAnthony Spezzano ↗
Prompt/Tool

Tool

Collapsible tool call display showing name, JSON input, output, and running/done/error status.

Use and inspectUse this as a presentational interface around your own submit, stream, or state handlers. Reset preview only remounts the local example; it does not send a request or connect to a model.Next: inspect the source and wire its callback to a bounded backend action.
ToolCollapsible tool call display showing name, JSON input, output, and running/done/error status.
PropTypeDefaultDescription
name*stringTool function name
input*Record<string, unknown>Tool input parameters as an object
outputstringTool result text
status*"running" | "done" | "error"Current execution state