get_discount
Retrieve a single discount by id to view its name, amount, and linked project or task. Find the id with list_discounts first; unknown ids return not found.
Instructions
Read one discount by its identifier: name, amount, and the project or task it applies to. Use list_discounts to find the id first. Read-only; an unknown id is reported as not found. Requires Gryzzly's budget offer.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The identifier. | |
| confirm | No | Must be `true` to delete. Ignored when reading. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The discount's identifier. | |
| name | No | The discount's name. | |
| amount | No | How much is taken off. | |
| task_id | No | The task it applies to. | |
| created_at | No | When the discount was created. | |
| project_id | No | The project it applies to. | |
| updated_at | No | When the discount was last updated. |