Get Page by ID
get_page_by_idRetrieve a single page from Magnet by its ID and output it as markdown. Choose previewOnly to get a markdown preview instead of the full content.
Instructions
Fetch a single page by its ID from Magnet and return it as markdown. Use previewOnly=true to get a markdown preview 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_page_by_id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The page ID | |
| previewOnly | No | If true, returns markdown preview instead of full markdown |