create_tracker_line
Add a line to a tracker: a named category set with its own optional limit. A transaction lands in at most one line — the first line by position whose category set (expanded to children) contains its category; spending matching no line counts as "other". Requires manage access to the tracker. Returns the created line with its ID, limit and categories.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Line name | |
| position | No | 0-based order among the lines. Default: after the last line | |
| trackerId | Yes | ID of the tracker to add the line to | |
| categoryIds | Yes | Category IDs the line covers; parents expand to their children. Categories resolve against the tracker owner's tree. | |
| limitAmount | No | Line spending limit as a decimal amount in the tracker owner's base currency (e.g. 200.00). Omit or null for no limit |