generate_csv
Generate a CSV report of expenses for a given month, saved to the reports directory.
Instructions
Export all expenses for a given month as a CSV string. The CSV is also saved to the /reports/ directory.
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": {
"year": "<year>",
"month": "<month>"
},
"name": "generate_csv"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | ||
| month | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |