get_cospend_project_settlement
Suggest reimbursement transactions to settle a Cospend project's shared expenses, optionally centered on a member or limited to a date.
Instructions
Suggested reimbursement transactions to settle a Cospend project.
Requires VIEWER access.
Args: project_id: String project id. centered_on: Member id to center the plan on. All suggested transactions will involve this member (e.g. "everyone pays Alice"). max_timestamp: Settle up to this date (Unix seconds). Member balances will be zero at this date and bills after it are ignored.
Returns:
JSON object with transactions (list of {from, to, amount} —
from/to are member ids) and balances (map of member-id →
current balance).
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": {
"project_id": "<project_id>"
},
"name": "get_cospend_project_settlement"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | ||
| centered_on | No | ||
| max_timestamp | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |