Get Leantime Ticket
leantime_get_ticketFetch a Leantime ticket's full details with HTML-stripped description and PR-ready markdown. Use to get context for writing commits or previewing markdown for a pull request body.
Instructions
Fetch one Leantime ticket's full detail, including an HTML-stripped description and a PR-ready markdown block.
Use this for context when writing a commit/PR, or to preview the markdown that gets embedded in a PR body. Read-only.
Args:
id (string|number): the ticket id
Returns JSON: { id, headline, description, statusLabel, dueDate, url, markdown } or { found: 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": {
"id": "<id>"
},
"name": "leantime_get_ticket"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Ticket id |