Skip to content

Tool Invocation drawer

Opened from the Tools Section (Invocations tab) or from a Run Detail drawer tool-call row.

Panels

PanelContents
HeaderTool key, status, started/ended timestamps
ArgsJSON arguments passed to the tool (secrets redacted)
ResultJSON result returned (secrets redacted)
LatencyGateway round-trip ms
Approval chainWho approved (if any), when, with what scope
Source run idBack-link to the originating run

Redactions

Strings matching the platform's secret patterns (sk-…, bearer tokens, etc.) are replaced with «redacted» before render. The raw value is never sent to the browser.

Errors

When status = error, the panel shows:

  • error.type — e.g., timeout, provider_5xx, schema_validation
  • error.message — human-readable
  • error.retry_after_ms — if the gateway will retry

Code-backed workflow

Source of truth: ToolInvocationDrawer.tsx.

  1. Review payload, response, approval state, and approve or reject pending tool invocations.
  2. Approval and rejection refresh invocation and approval queue queries.
  3. Verify the related run unblocks or fails according to the decision.