paperclip_get_costs_by_project
Retrieve LLM token costs broken down by project to compare spending and prioritize budget allocation across projects.
Instructions
Get LLM token costs broken down by project for the current company.
Args:
response_format: 'markdown' | 'json' (optional) — Output format (default: markdown)
Returns: Array of per-project cost records: projectId, projectName, totalCents, tokenCounts.
Examples:
Use when: comparing spend across projects to prioritise budget allocation
Don't use when: you need agent-level costs — use paperclip_get_costs_by_agent instead
Error Handling:
401: authentication failed → check PAPERCLIP_API_KEY
403: permission denied → verify PAPERCLIP_COMPANY_ID is correct
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": {
"response_format": "<response_format>"
},
"name": "paperclip_get_costs_by_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| response_format | Yes | Output format: 'markdown' (default, human-readable) or 'json' (structured) | markdown |