list_discounts
List project or task budget discounts with their names and amounts to audit granted discounts. Filter by project or task name, code, or ID; read-only.
Instructions
List discounts (amounts taken off a project's or task's budget) with their names and amounts. Use it to audit what was granted on a project; use get_discount when you already hold one discount id. Read-only. Filters accept project and task names, codes or ids. Without Gryzzly's budget offer every call answers no_permission.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many objects to return. Upstream maximum is 1000. | |
| tasks | No | Keep only charges of these tasks, by name or id. | |
| offset | No | How many objects to skip, for the next page. | |
| projects | No | Keep only charges of these projects, by name, code or id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Set when the answer is worth a word of explanation. | |
| count | Yes | How many objects match the filters upstream, beyond this page. | |
| items | Yes | The objects. | |
| returned | Yes | How many objects this answer carries. |