get_cost_entry
Retrieve a single OpenProject cost entry by ID to inspect recorded costs and read-only cost details.
Instructions
Get a single cost entry by id.
Cost entries are entirely read-only in OpenProject's API (Community Edition) -- there is no create/update/delete endpoint for this resource.
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": {
"cost_entry_id": "<cost_entry_id>"
},
"name": "get_cost_entry"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cost_entry_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| user | Yes | ||
| project | Yes | ||
| spent_on | Yes | ||
| cost_type | Yes | ||
| entity_id | Yes | ||
| created_at | Yes | ||
| updated_at | Yes | ||
| entity_name | Yes | ||
| spent_units | Yes |