Get item usage
get_item_usageAI cost of one work item: the rolled-up call count, tokens and cost for a todo or calendar event, plus the individual calls attributed to it.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"subject_type": "<subject_type>",
"subject_id": "<subject_id>"
},
"name": "get_item_usage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subject_id | Yes | Id of the todo or event | |
| subject_type | Yes | todo | event |