ExecuteResponse
Response from the Execute Tool API.
属性
billing?
optionalbilling?:CompactBillingStatement
Structured pre-settlement billing statement when available
cost?
optionalcost?:number
Legacy fallback estimate; use usage audit or credits ledger for final charge
created_at?
optionalcreated_at?:string
Timestamp of execution (ISO 8601 format)
elapsed_time_ms?
optionalelapsed_time_ms?:number
Execution duration in milliseconds (alternative field)
error_message?
optionalerror_message?:string|null
Error message if execution failed. Common reasons: insufficient balance, quota exceeded, invalid parameters.
execution_id
execution_id:
string
Unique identifier for this execution record
execution_time?
optionalexecution_time?:number
Execution duration in seconds
parameters?
optionalparameters?:Record<string,unknown>
The parameters that were passed to the tool
pre_settlement_bill?
optionalpre_settlement_bill?:Record<string,unknown>
Legacy/full pre-settlement bill snapshot when returned directly
remaining_credits?
optionalremaining_credits?:number
User's remaining credits after this execution
result?
optionalresult?:ExecuteResult
The execution result.
Contains either data (if within size limit) or truncation info.
success
success:
boolean
Whether the execution completed successfully
tool_id?
optionaltool_id?:string
The tool that was executed
