Skip to content
Runtime

Agents guide: tool-permission samples match the SDK

The TypeScript sample that sets an agent's permissions now passes the definition directly to agents.update, and the sample that lists held tool calls passes state as an array ({ state: ["open"] }). Both samples previously failed to typecheck against the withruntime package.

100 free hoursin your first 30 days.

of a 1 GB machine

  • No credit card
  • Four sandboxes at once, 2 vCPU and 4 GiB each
  • Then prepaid credit from $10, no plan fee
Start free, no card
Start free, no card