Skip to content

SubagentFailedData

A subagent failed, with what it did and cost before it did: its events stay out of the log, so these are the whole of it.

Property Type Description
agent? object -
agent.id? string -
agent.name? string -
error ErrorInfo -
duration_ms number -
tool_calls? number How many tool calls it made.
usage? Usage -
cost? Cost | null What its model calls and tools cost, together, which counts as the calling tool's; null where nothing priced them.