Get Comment Templates
comment_templates_get_allFetch reusable Yandex Tracker comment templates, filtered by queue if needed, with pagination support, to review wording and summoned users and mailing lists before adding a comment.
Instructions
Get the comment templates configured in Yandex Tracker - the wording a team reuses when replying, with the users and mailing lists such a comment summons. Read one before adding a comment. Pass queue for the templates of that queue plus those bound to no queue. All pages are fetched by default; pass page for a single one.
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": "comment_templates_get_all"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number to return, default is None which means to retrieve all pages. Specify page number to retrieve a specific page when context limit is reached. | |
| queue | No | Optional queue (Project ID) to scope the result to, like 'SOMEPROJECT'. Templates that are not bound to any queue are usable everywhere and are returned as well. | |
| per_page | No | The number of items per page. May be decreased if results exceed context window. If there is a change in per_page argument - retrieval must be started over with page = 1, as the paging could have changed. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hits | No | Total items matching the request, across all pages. Null if unknown or filtered - then page on until a page comes back empty. | |
| pages | No | Total pages at the requested `per_page`; this is the last page when it equals `page`. Null together with `hits`. | |
| values | No |