get_ticket_hierarchy
Fetch a ticket's full hierarchy tree recursively, or just its immediate parent/child links.
Instructions
Get ticket hierarchy (parent/child relationships). Builds the complete hierarchy tree if recursive=true, or only immediate relationships if recursive=false.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"ticket_id": "<ticket_id>"
},
"name": "get_ticket_hierarchy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| recursive | No | Whether to recursively fetch the entire hierarchy tree (default: true) | |
| ticket_id | Yes | The RT ticket ID number |