List Pages
list_pagesRetrieve all pages for your organization in Magnet with markdown content. Supports cursor-based pagination and optional markdown previews.
Instructions
List all pages for your organization in Magnet with markdown content. The organization is determined automatically from your API key. Use previewOnly=true to get markdown previews instead of full content. Supports cursor-based pagination with limit (1-100, default 50) and cursor parameters. Response includes pagination metadata with total count, hasMore flag, and nextCursor for fetching subsequent pages.
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": "list_pages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of pages to return (1-100). Defaults to 50. | |
| cursor | No | Cursor for pagination. Use nextCursor from previous response to get next page. | |
| previewOnly | No | If true, returns markdown previews instead of full markdown | |
| organizationId | No | ID of the organization. Optional when using API key authentication. |