Tool Call Timeouts and Cancellation: Making Agent Tool Calls Safe to Abandon
Learn how to make AI agent tool calls safe to abandon: deadline budgets derived from the run instead of fresh fixed slices, deadlines that travel with the request, timed_out as a first-class result with a side-effect status instead of a generic error, cooperative cancellation that writes its own ledger entry, and the idempotency-key replay that turns an abandoned call into a query.