List My Expenses
list_my_expensesReads the costs the signed-in person recorded on their projects over a span of days (default: the last 30): vendor, amount, tax and total in the workspace currency, the project, whether it bills to the client and has been billed, whether it is owed back to the person, and whether a receipt is attached, with the totals. Returns the expense ids the delete tool takes. Handles "what expenses have I claimed this month?".
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_my_expenses"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Last day, YYYY-MM-DD, inclusive. Defaults to today. | |
| from | No | First day, YYYY-MM-DD. At most 366 days with to. | |
| userId | No | Not needed when signed in: these tools act for the signed-in person, and any other ID is refused. Applies only to a workspace connection with no signed-in user, naming whose expenses these are. | |
| projectId | No | Only this project. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ||
| from | No | ||
| total | No | ||
| currency | No | ||
| expenses | No | ||
| owedToYou | No | ||
| billedToClients | No |