Get Issue by ID
get_issue_by_idFetch a single issue from Magnet by its ID and return it as markdown. Optionally get a preview of the first 100 words.
Instructions
Fetch a single issue by its ID from Magnet and return it as markdown. The issue includes a 'baseBranch' field which indicates the target branch for any pull requests related to this issue. Use previewOnly=true to get a markdown preview (first 100 words) instead of full content.
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": "get_issue_by_id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The issue ID | |
| previewOnly | No | If true, returns markdown preview (first 100 words) instead of full markdown |