Get agent billing quote
get_agent_billing_quoteGet a deterministic Toofi internal-credit quote for an agent tool call, including TTL, payment rails, Stripe checkout command, and x402-ready contract fields.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| units | No | ||
| agent_id | No | Calling agent identifier. | |
| currency | No | TOOFI_CREDIT | |
| clinic_id | No | Clinic identifier for mandate-scoped production execution. | |
| intent_id | No | Root agent intent id. | |
| tool_name | No | MCP tool or Toofi command being priced. | |
| mandate_id | No | Clinic or agent mandate id. Optional in public demo mode. | |
| request_id | No | Idempotency and correlation id echoed in Toofi responses. | |
| principal_id | No | Human or clinic principal on whose behalf the agent acts. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| mode | No | ||
| status | No | ||
| endpoint | No | ||
| timestamp | No |