Skip to content

ToolCallUsage

← All HTTP schemas

A single tool call’s non-token measurement and cost.

Shape: object

Property Required Type Description Rules
unit yes string The measurement unit. See ToolUsageUnits for known values.
quantity yes number (double) The billed quantity. pattern `^-?(?:0\
cost no number (double) The computed amount. Stays null if the configuration has no price for this tool — not zero. pattern `^-?(?:0\
currency no string The currency. Comes from AgentPrism:Pricing:Currency.
isEstimated no boolean Whether the quantity was measured or estimated.