List Bookmarks
listRetrieve all stored bookmarks from the Bookmark Manager MCP server to view and manage your categorized web links.
Instructions
List all bookmarks
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/index.ts:71-78 (handler)The handler function for the 'list' tool - an async arrow function that returns all bookmarks as JSON-formatted text in the MCP content format
async () => { return { content: [{ type: 'text', text: JSON.stringify(bookmarks, null, 2) }] } } - src/index.ts:66-69 (schema)Schema definition for the 'list' tool with title, description, and empty inputSchema (no parameters required)
{ title: 'List Bookmarks', description: 'List all bookmarks', inputSchema: {} - src/index.ts:65-79 (registration)Registration of the 'list' tool with the MCP server using server.registerTool() method
server.registerTool('list', { title: 'List Bookmarks', description: 'List all bookmarks', inputSchema: {} }, async () => { return { content: [{ type: 'text', text: JSON.stringify(bookmarks, null, 2) }] } } ) - src/index.ts:17-21 (schema)TypeScript type definition for Bookmark object structure with title, url, and category fields
type Bookmark = { title: string, url: string, category: string }