Label several lines
label_linesPut labels on (add) or take them off (remove) several lines at once: by ID (lines, from any months) or by month and numbers. A label that means no receipt makes each line not needed (the label is the reason); taking the last one off makes a line missing again (found with a file). Ask the person before you label many lines. Answers how many changed and the lines as they are now.
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": "label_lines"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| add | No | Label names (or ids) that already exist in the account. Unknown names are refused; see list_labels. | |
| lines | No | The lines' IDs, like ["#1042", "#1043"], from any months: instead of month and numbers. | |
| month | No | The month as YYYY-MM, with numbers; or give lines as IDs instead. | |
| remove | No | Label names (or ids) that already exist in the account. Unknown names are refused; see list_labels. | |
| numbers | No | The lines' numbers in the month. |