[2025-03-21T16:00:14.483Z] [DEBUG] Successfully read package.json from project root: E:\PROJECTS\letta tools\mcp-framework-server\package.json
[2025-03-21T16:00:14.484Z] [INFO] Using name from package.json: mcp-framework-server
[2025-03-21T16:00:14.484Z] [DEBUG] Successfully read package.json from project root: E:\PROJECTS\letta tools\mcp-framework-server\package.json
[2025-03-21T16:00:14.485Z] [INFO] Using version from package.json: 0.0.1
[2025-03-21T16:00:14.485Z] [INFO] Initializing MCP Server: mcp-framework-server@0.0.1
[2025-03-21T16:00:14.485Z] [DEBUG] Initialized ToolLoader with directory: E:\PROJECTS\letta tools\mcp-framework-server\dist\tools
[2025-03-21T16:00:14.486Z] [DEBUG] Initialized PromptLoader with directory: E:\PROJECTS\letta tools\mcp-framework-server\dist\prompts
[2025-03-21T16:00:14.486Z] [DEBUG] Initialized ResourceLoader with directory: E:\PROJECTS\letta tools\mcp-framework-server\dist\resources
[2025-03-21T16:00:14.486Z] [DEBUG] Looking for tools in: E:\PROJECTS\letta tools\mcp-framework-server\dist\tools
[2025-03-21T16:00:14.486Z] [DEBUG] Looking for prompts in: E:\PROJECTS\letta tools\mcp-framework-server\dist\prompts
[2025-03-21T16:00:14.486Z] [DEBUG] Looking for resources in: E:\PROJECTS\letta tools\mcp-framework-server\dist\resources
[2025-03-21T16:00:14.488Z] [DEBUG] Attempting to load tools from: E:\PROJECTS\letta tools\mcp-framework-server\dist\tools
[2025-03-21T16:00:14.490Z] [DEBUG] Found files in directory: BookstackCreateBookshelfTool.d.ts, BookstackCreateBookshelfTool.js, BookstackCreateBookTool.d.ts, BookstackCreateBookTool.js, BookstackCreateChapterTool.d.ts, BookstackCreateChapterTool.js, BookstackCreatePageTool.d.ts, BookstackCreatePageTool.js, BookstackDeleteBookshelfTool.d.ts, BookstackDeleteBookshelfTool.js, BookstackDeleteBookTool.d.ts, BookstackDeleteBookTool.js, BookstackDeleteChapterTool.d.ts, BookstackDeleteChapterTool.js, BookstackDeletePageTool.d.ts, BookstackDeletePageTool.js, BookstackListBookshelvesTool.d.ts, BookstackListBookshelvesTool.js, BookstackListBooksTool.d.ts, BookstackListBooksTool.js, BookstackListChaptersTool.d.ts, BookstackListChaptersTool.js, BookstackListPagesTool.d.ts, BookstackListPagesTool.js, BookstackReadBookshelfTool.d.ts, BookstackReadBookshelfTool.js, BookstackReadBookTool.d.ts, BookstackReadBookTool.js, BookstackReadChapterTool.d.ts, BookstackReadChapterTool.js, BookstackReadPageTool.d.ts, BookstackReadPageTool.js, BookstackToolBase.d.ts, BookstackToolBase.js, BookstackUpdateBookshelfTool.d.ts, BookstackUpdateBookshelfTool.js, BookstackUpdateBookTool.d.ts, BookstackUpdateBookTool.js, BookstackUpdateChapterTool.d.ts, BookstackUpdateChapterTool.js, BookstackUpdatePageTool.d.ts, BookstackUpdatePageTool.js, create_book.py, create_bookshelf.py, create_chapter.py, create_page.py, delete_book.py, delete_bookshelf.py, delete_chapter.py, delete_page.py, ExampleTool.d.ts, ExampleTool.js, ExampleToolTool.d.ts, ExampleToolTool.js, list_books.py, list_bookshelves.py, list_chapters.py, list_pages.py, read_book.py, read_bookshelf.py, read_chapter.py, read_page.py, test_tools.py, update_book.py, update_bookshelf.py, update_chapter.py, update_page.py, upload_all_tools.py
[2025-03-21T16:00:14.490Z] [DEBUG] Checking file BookstackCreateBookshelfTool.js: included
[2025-03-21T16:00:14.490Z] [DEBUG] Attempting to load tool from: E:\PROJECTS\letta tools\mcp-framework-server\dist\tools\BookstackCreateBookshelfTool.js
[2025-03-21T16:00:14.491Z] [DEBUG] Validated tool: bookstack_create_bookshelf
[2025-03-21T16:00:14.492Z] [DEBUG] Checking file BookstackCreateBookTool.js: included
[2025-03-21T16:00:14.492Z] [DEBUG] Attempting to load tool from: E:\PROJECTS\letta tools\mcp-framework-server\dist\tools\BookstackCreateBookTool.js
[2025-03-21T16:00:14.493Z] [DEBUG] Validated tool: bookstack_create_book
[2025-03-21T16:00:14.493Z] [DEBUG] Checking file BookstackCreateChapterTool.js: included
[2025-03-21T16:00:14.494Z] [DEBUG] Attempting to load tool from: E:\PROJECTS\letta tools\mcp-framework-server\dist\tools\BookstackCreateChapterTool.js
[2025-03-21T16:00:14.494Z] [DEBUG] Validated tool: bookstack_create_chapter
[2025-03-21T16:00:14.495Z] [DEBUG] Checking file BookstackCreatePageTool.js: included
[2025-03-21T16:00:14.495Z] [DEBUG] Attempting to load tool from: E:\PROJECTS\letta tools\mcp-framework-server\dist\tools\BookstackCreatePageTool.js
[2025-03-21T16:00:14.496Z] [DEBUG] Validated tool: bookstack_create_page
[2025-03-21T16:00:14.496Z] [DEBUG] Checking file BookstackDeleteBookshelfTool.js: included
[2025-03-21T16:00:14.496Z] [DEBUG] Attempting to load tool from: E:\PROJECTS\letta tools\mcp-framework-server\dist\tools\BookstackDeleteBookshelfTool.js
[2025-03-21T16:00:14.497Z] [DEBUG] Validated tool: bookstack_delete_bookshelf
[2025-03-21T16:00:14.497Z] [DEBUG] Checking file BookstackDeleteBookTool.js: included
[2025-03-21T16:00:14.497Z] [DEBUG] Attempting to load tool from: E:\PROJECTS\letta tools\mcp-framework-server\dist\tools\BookstackDeleteBookTool.js
[2025-03-21T16:00:14.498Z] [DEBUG] Validated tool: bookstack_delete_book
[2025-03-21T16:00:14.498Z] [DEBUG] Checking file BookstackDeleteChapterTool.js: included
[2025-03-21T16:00:14.498Z] [DEBUG] Attempting to load tool from: E:\PROJECTS\letta tools\mcp-framework-server\dist\tools\BookstackDeleteChapterTool.js
[2025-03-21T16:00:14.498Z] [DEBUG] Validated tool: bookstack_delete_chapter
[2025-03-21T16:00:14.498Z] [DEBUG] Checking file BookstackDeletePageTool.js: included
[2025-03-21T16:00:14.499Z] [DEBUG] Attempting to load tool from: E:\PROJECTS\letta tools\mcp-framework-server\dist\tools\BookstackDeletePageTool.js
[2025-03-21T16:00:14.499Z] [DEBUG] Validated tool: bookstack_delete_page
[2025-03-21T16:00:14.500Z] [DEBUG] Checking file BookstackListBookshelvesTool.js: included
[2025-03-21T16:00:14.500Z] [DEBUG] Attempting to load tool from: E:\PROJECTS\letta tools\mcp-framework-server\dist\tools\BookstackListBookshelvesTool.js
[2025-03-21T16:00:14.501Z] [DEBUG] Validated tool: bookstack_list_bookshelves
[2025-03-21T16:00:14.501Z] [DEBUG] Checking file BookstackListBooksTool.js: included
[2025-03-21T16:00:14.501Z] [DEBUG] Attempting to load tool from: E:\PROJECTS\letta tools\mcp-framework-server\dist\tools\BookstackListBooksTool.js
[2025-03-21T16:00:14.502Z] [DEBUG] Validated tool: bookstack_list_books
[2025-03-21T16:00:14.502Z] [DEBUG] Checking file BookstackListChaptersTool.js: included
[2025-03-21T16:00:14.503Z] [DEBUG] Attempting to load tool from: E:\PROJECTS\letta tools\mcp-framework-server\dist\tools\BookstackListChaptersTool.js
[2025-03-21T16:00:14.503Z] [DEBUG] Validated tool: bookstack_list_chapters
[2025-03-21T16:00:14.503Z] [DEBUG] Checking file BookstackListPagesTool.js: included
[2025-03-21T16:00:14.504Z] [DEBUG] Attempting to load tool from: E:\PROJECTS\letta tools\mcp-framework-server\dist\tools\BookstackListPagesTool.js
[2025-03-21T16:00:14.504Z] [DEBUG] Validated tool: bookstack_list_pages
[2025-03-21T16:00:14.504Z] [DEBUG] Checking file BookstackReadBookshelfTool.js: included
[2025-03-21T16:00:14.504Z] [DEBUG] Attempting to load tool from: E:\PROJECTS\letta tools\mcp-framework-server\dist\tools\BookstackReadBookshelfTool.js
[2025-03-21T16:00:14.505Z] [DEBUG] Validated tool: bookstack_read_bookshelf
[2025-03-21T16:00:14.505Z] [DEBUG] Checking file BookstackReadBookTool.js: included
[2025-03-21T16:00:14.505Z] [DEBUG] Attempting to load tool from: E:\PROJECTS\letta tools\mcp-framework-server\dist\tools\BookstackReadBookTool.js
[2025-03-21T16:00:14.506Z] [DEBUG] Validated tool: bookstack_read_book
[2025-03-21T16:00:14.506Z] [DEBUG] Checking file BookstackReadChapterTool.js: included
[2025-03-21T16:00:14.506Z] [DEBUG] Attempting to load tool from: E:\PROJECTS\letta tools\mcp-framework-server\dist\tools\BookstackReadChapterTool.js
[2025-03-21T16:00:14.506Z] [DEBUG] Validated tool: bookstack_read_chapter
[2025-03-21T16:00:14.506Z] [DEBUG] Checking file BookstackReadPageTool.js: included
[2025-03-21T16:00:14.506Z] [DEBUG] Attempting to load tool from: E:\PROJECTS\letta tools\mcp-framework-server\dist\tools\BookstackReadPageTool.js
[2025-03-21T16:00:14.507Z] [DEBUG] Validated tool: bookstack_read_page
[2025-03-21T16:00:14.507Z] [DEBUG] Checking file BookstackToolBase.js: included
[2025-03-21T16:00:14.507Z] [DEBUG] Attempting to load tool from: E:\PROJECTS\letta tools\mcp-framework-server\dist\tools\BookstackToolBase.js
[2025-03-21T16:00:14.508Z] [WARN] Invalid tool found: missing required properties
[2025-03-21T16:00:14.508Z] [DEBUG] Checking file BookstackUpdateBookshelfTool.js: included
[2025-03-21T16:00:14.508Z] [DEBUG] Attempting to load tool from: E:\PROJECTS\letta tools\mcp-framework-server\dist\tools\BookstackUpdateBookshelfTool.js
[2025-03-21T16:00:14.508Z] [DEBUG] Validated tool: bookstack_update_bookshelf
[2025-03-21T16:00:14.508Z] [DEBUG] Checking file BookstackUpdateBookTool.js: included
[2025-03-21T16:00:14.509Z] [DEBUG] Attempting to load tool from: E:\PROJECTS\letta tools\mcp-framework-server\dist\tools\BookstackUpdateBookTool.js
[2025-03-21T16:00:14.509Z] [DEBUG] Validated tool: bookstack_update_book
[2025-03-21T16:00:14.509Z] [DEBUG] Checking file BookstackUpdateChapterTool.js: included
[2025-03-21T16:00:14.509Z] [DEBUG] Attempting to load tool from: E:\PROJECTS\letta tools\mcp-framework-server\dist\tools\BookstackUpdateChapterTool.js
[2025-03-21T16:00:14.511Z] [DEBUG] Validated tool: bookstack_update_chapter
[2025-03-21T16:00:14.511Z] [DEBUG] Checking file BookstackUpdatePageTool.js: included
[2025-03-21T16:00:14.511Z] [DEBUG] Attempting to load tool from: E:\PROJECTS\letta tools\mcp-framework-server\dist\tools\BookstackUpdatePageTool.js
[2025-03-21T16:00:14.512Z] [DEBUG] Validated tool: bookstack_update_page
[2025-03-21T16:00:14.512Z] [DEBUG] Checking file ExampleTool.js: included
[2025-03-21T16:00:14.512Z] [DEBUG] Attempting to load tool from: E:\PROJECTS\letta tools\mcp-framework-server\dist\tools\ExampleTool.js
[2025-03-21T16:00:14.520Z] [DEBUG] Validated tool: example_tool
[2025-03-21T16:00:14.520Z] [DEBUG] Checking file ExampleToolTool.js: included
[2025-03-21T16:00:14.521Z] [DEBUG] Attempting to load tool from: E:\PROJECTS\letta tools\mcp-framework-server\dist\tools\ExampleToolTool.js
[2025-03-21T16:00:14.521Z] [DEBUG] Validated tool: example_tool
[2025-03-21T16:00:14.521Z] [DEBUG] Successfully loaded 22 tools: bookstack_create_bookshelf, bookstack_create_book, bookstack_create_chapter, bookstack_create_page, bookstack_delete_bookshelf, bookstack_delete_book, bookstack_delete_chapter, bookstack_delete_page, bookstack_list_bookshelves, bookstack_list_books, bookstack_list_chapters, bookstack_list_pages, bookstack_read_bookshelf, bookstack_read_book, bookstack_read_chapter, bookstack_read_page, bookstack_update_bookshelf, bookstack_update_book, bookstack_update_chapter, bookstack_update_page, example_tool, example_tool
[2025-03-21T16:00:14.522Z] [DEBUG] Attempting to load prompts from: E:\PROJECTS\letta tools\mcp-framework-server\dist\prompts
[2025-03-21T16:00:14.522Z] [DEBUG] No prompts directory found
[2025-03-21T16:00:14.523Z] [DEBUG] Attempting to load resources from: E:\PROJECTS\letta tools\mcp-framework-server\dist\resources
[2025-03-21T16:00:14.523Z] [DEBUG] No resources directory found
[2025-03-21T16:00:14.523Z] [DEBUG] No prompts directory found
[2025-03-21T16:00:14.524Z] [DEBUG] No resources directory found
[2025-03-21T16:00:14.524Z] [DEBUG] Creating MCP Server instance
[2025-03-21T16:00:14.524Z] [DEBUG] Server created with capabilities: {"tools":{"enabled":true}}
[2025-03-21T16:00:14.524Z] [INFO] Starting transport...
[2025-03-21T16:00:14.525Z] [DEBUG] Creating transport: sse
[2025-03-21T16:00:14.525Z] [DEBUG] SSE transport configured with: {"port":8080,"endpoint":"/sse","messageEndpoint":"/messages","maxMessageSize":"4mb","headers":{"Cache-Control":"no-cache","Connection":"keep-alive"},"cors":{"allowOrigin":"*","allowMethods":"GET, POST, OPTIONS","allowHeaders":"Content-Type, Authorization, x-api-key","exposeHeaders":"Content-Type, Authorization, x-api-key","maxAge":"86400"}}
[2025-03-21T16:00:14.529Z] [INFO] SSE transport listening on port 8080
[2025-03-21T16:00:14.529Z] [INFO] Transport connected successfully
[2025-03-21T16:00:14.529Z] [INFO] Started mcp-framework-server@0.0.1
[2025-03-21T16:00:14.529Z] [INFO] Transport: sse
[2025-03-21T16:00:14.529Z] [INFO] Tools (22): bookstack_create_bookshelf, bookstack_create_book, bookstack_create_chapter, bookstack_create_page, bookstack_delete_bookshelf, bookstack_delete_book, bookstack_delete_chapter, bookstack_delete_page, bookstack_list_bookshelves, bookstack_list_books, bookstack_list_chapters, bookstack_list_pages, bookstack_read_bookshelf, bookstack_read_book, bookstack_read_chapter, bookstack_read_page, bookstack_update_bookshelf, bookstack_update_book, bookstack_update_chapter, bookstack_update_page, example_tool
[2025-03-21T16:00:14.530Z] [INFO] Server running and ready for connections
[2025-03-21T16:00:14.764Z] [DEBUG] Incoming request: GET /sse
[2025-03-21T16:00:14.765Z] [DEBUG] Setting up SSE connection for session: 69da038f-493f-4b75-a583-66e2e2a3419c
[2025-03-21T16:00:14.765Z] [DEBUG] SSE headers set: {"Content-Type":"text/event-stream","Cache-Control":"no-cache","Connection":"keep-alive","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"GET, POST, OPTIONS","Access-Control-Allow-Headers":"Content-Type, Authorization, x-api-key","Access-Control-Expose-Headers":"Content-Type, Authorization, x-api-key"}
[2025-03-21T16:00:14.766Z] [DEBUG] Socket optimized for SSE connection
[2025-03-21T16:00:14.766Z] [DEBUG] Sending endpoint URL: /messages?sessionId=69da038f-493f-4b75-a583-66e2e2a3419c
[2025-03-21T16:00:14.767Z] [DEBUG] Sending initial keep-alive
[2025-03-21T16:00:14.767Z] [INFO] SSE connection established successfully for session: 69da038f-493f-4b75-a583-66e2e2a3419c
[2025-03-21T16:00:29.774Z] [DEBUG] Sending keep-alive ping
[2025-03-21T16:00:30.065Z] [INFO] SSE connection closed for session: 69da038f-493f-4b75-a583-66e2e2a3419c
[2025-03-21T16:00:30.068Z] [DEBUG] Incoming request: GET /sse
[2025-03-21T16:00:30.068Z] [DEBUG] Setting up SSE connection for session: 69da038f-493f-4b75-a583-66e2e2a3419c
[2025-03-21T16:00:30.068Z] [DEBUG] SSE headers set: {"Content-Type":"text/event-stream","Cache-Control":"no-cache","Connection":"keep-alive","Access-Control-Allow-Origin":"*","Access-Control-Allow-Methods":"GET, POST, OPTIONS","Access-Control-Allow-Headers":"Content-Type, Authorization, x-api-key","Access-Control-Expose-Headers":"Content-Type, Authorization, x-api-key"}
[2025-03-21T16:00:30.069Z] [DEBUG] Socket optimized for SSE connection
[2025-03-21T16:00:30.069Z] [DEBUG] Sending endpoint URL: /messages?sessionId=69da038f-493f-4b75-a583-66e2e2a3419c
[2025-03-21T16:00:30.069Z] [DEBUG] Sending initial keep-alive
[2025-03-21T16:00:30.069Z] [INFO] SSE connection established successfully for session: 69da038f-493f-4b75-a583-66e2e2a3419c
[2025-03-21T16:00:30.074Z] [DEBUG] Incoming request: POST /messages?sessionId=69da038f-493f-4b75-a583-66e2e2a3419c
[2025-03-21T16:00:30.087Z] [DEBUG] Received message: {"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"Roo Code","version":"3.9.2"}},"jsonrpc":"2.0","id":0}
[2025-03-21T16:00:30.088Z] [DEBUG] Parsed message - ID: 0, Method: initialize
[2025-03-21T16:00:30.088Z] [DEBUG] Processing RPC message: {"id":0,"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"Roo Code","version":"3.9.2"}}}
[2025-03-21T16:00:30.091Z] [DEBUG] Successfully processed message 0
[2025-03-21T16:00:30.091Z] [DEBUG] Transport sending message: {"result":{"protocolVersion":"2024-11-05","capabilities":{"tools":{"enabled":true}},"serverInfo":{"name":"mcp-framework-server","version":"0.0.1"}},"jsonrpc":"2.0","id":0}
[2025-03-21T16:00:30.095Z] [DEBUG] Incoming request: POST /messages?sessionId=69da038f-493f-4b75-a583-66e2e2a3419c
[2025-03-21T16:00:30.096Z] [DEBUG] Received message: {"method":"notifications/initialized","jsonrpc":"2.0"}
[2025-03-21T16:00:30.096Z] [DEBUG] Parsed message - ID: undefined, Method: notifications/initialized
[2025-03-21T16:00:30.096Z] [DEBUG] Processing RPC message: {"method":"notifications/initialized"}
[2025-03-21T16:00:30.096Z] [DEBUG] Transport sending message: {"jsonrpc":"2.0","error":{"code":-32601,"message":"Method not found"}}
[2025-03-21T16:00:30.097Z] [DEBUG] Successfully processed message undefined
[2025-03-21T16:00:30.101Z] [DEBUG] Incoming request: POST /messages?sessionId=69da038f-493f-4b75-a583-66e2e2a3419c
[2025-03-21T16:00:30.102Z] [DEBUG] Received message: {"method":"tools/list","jsonrpc":"2.0","id":1}
[2025-03-21T16:00:30.102Z] [DEBUG] Parsed message - ID: 1, Method: tools/list
[2025-03-21T16:00:30.102Z] [DEBUG] Processing RPC message: {"id":1,"method":"tools/list"}
[2025-03-21T16:00:30.102Z] [DEBUG] Received ListTools request: {"method":"tools/list"}
[2025-03-21T16:00:30.103Z] [DEBUG] Found 21 tools to return
[2025-03-21T16:00:30.103Z] [DEBUG] Tool definitions: [{"name":"bookstack_create_bookshelf","description":"Creates a new bookshelf in Bookstack","inputSchema":{"type":"object","properties":{"name":{"type":"string","description":"The name of the bookshelf"},"description":{"type":"string","description":"A description of the bookshelf"},"books":{"type":"string","description":"A list of book IDs to include in the shelf"},"tags":{"type":"string","description":"A list of tag objects (each with 'name' and 'value')"}}}},{"name":"bookstack_create_book","description":"Creates a new book in Bookstack","inputSchema":{"type":"object","properties":{"name":{"type":"string","description":"The name of the book"},"description":{"type":"string","description":"A description of the book"},"tags":{"type":"string","description":"A list of tag objects (each with 'name' and 'value')"},"image_id":{"type":"string","description":"The ID of an image to use as the cover"}}}},{"name":"bookstack_create_chapter","description":"Creates a new chapter in Bookstack","inputSchema":{"type":"object","properties":{"book_id":{"type":"string","description":"The ID of the book to create the chapter in"},"name":{"type":"string","description":"The name of the chapter"},"description":{"type":"string","description":"A description of the chapter"},"tags":{"type":"string","description":"A list of tag objects (each with 'name' and 'value')"},"priority":{"type":"string","description":"Chapter priority"}}}},{"name":"bookstack_create_page","description":"Creates a new page in Bookstack","inputSchema":{"type":"object","properties":{"name":{"type":"string","description":"The name of the page"},"book_id":{"type":"string","description":"The ID of the book to create the page in"},"chapter_id":{"type":"string","description":"The ID of the chapter to create the page in"},"markdown":{"type":"string","description":"The page content in Markdown format"},"html":{"type":"string","description":"The page content in HTML format"},"tags":{"type":"string","description":"A list of tag objects (each with 'name' and 'value')"},"priority":{"type":"string","description":"Page priority"}}}},{"name":"bookstack_delete_bookshelf","description":"Deletes a bookshelf from Bookstack","inputSchema":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the bookshelf to delete"}}}},{"name":"bookstack_delete_book","description":"Deletes a book from Bookstack","inputSchema":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the book to delete"}}}},{"name":"bookstack_delete_chapter","description":"Deletes a chapter from Bookstack","inputSchema":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the chapter to delete"}}}},{"name":"bookstack_delete_page","description":"Deletes a page from Bookstack","inputSchema":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the page to delete"}}}},{"name":"bookstack_list_bookshelves","description":"Lists all bookshelves in Bookstack with pagination support","inputSchema":{"type":"object","properties":{"offset":{"type":"string","description":"Number of records to skip"},"count":{"type":"string","description":"Number of records to take"}}}},{"name":"bookstack_list_books","description":"Lists all books in Bookstack with pagination support","inputSchema":{"type":"object","properties":{"offset":{"type":"string","description":"Number of records to skip"},"count":{"type":"string","description":"Number of records to take"}}}},{"name":"bookstack_list_chapters","description":"Lists all chapters in Bookstack with pagination support","inputSchema":{"type":"object","properties":{"offset":{"type":"string","description":"Number of records to skip"},"count":{"type":"string","description":"Number of records to take"}}}},{"name":"bookstack_list_pages","description":"Lists all pages in Bookstack with pagination support","inputSchema":{"type":"object","properties":{"offset":{"type":"string","description":"Number of records to skip"},"count":{"type":"string","description":"Number of records to take"}}}},{"name":"bookstack_read_bookshelf","description":"Retrieves details of a specific bookshelf in Bookstack","inputSchema":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the bookshelf to retrieve"}}}},{"name":"bookstack_read_book","description":"Retrieves details of a specific book in Bookstack","inputSchema":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the book to retrieve"}}}},{"name":"bookstack_read_chapter","description":"Retrieves details of a specific chapter in Bookstack","inputSchema":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the chapter to retrieve"}}}},{"name":"bookstack_read_page","description":"Retrieves details of a specific page in Bookstack","inputSchema":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the page to retrieve"}}}},{"name":"bookstack_update_bookshelf","description":"Updates a bookshelf in Bookstack","inputSchema":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the bookshelf to update"},"name":{"type":"string","description":"The new name of the bookshelf"},"description":{"type":"string","description":"A new description of the bookshelf"},"books":{"type":"string","description":"A new list of book IDs to include in the shelf"},"tags":{"type":"string","description":"A new list of tag objects (each with 'name' and 'value')"}}}},{"name":"bookstack_update_book","description":"Updates a book in Bookstack","inputSchema":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the book to update"},"name":{"type":"string","description":"The new name of the book"},"description":{"type":"string","description":"A new description of the book"},"tags":{"type":"string","description":"A new list of tag objects (each with 'name' and 'value')"},"image_id":{"type":"string","description":"The ID of a new image to use as the cover"}}}},{"name":"bookstack_update_chapter","description":"Updates a chapter in Bookstack","inputSchema":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the chapter to update"},"book_id":{"type":"string","description":"The ID of the book to move the chapter to"},"name":{"type":"string","description":"The new name of the chapter"},"description":{"type":"string","description":"A new description of the chapter"},"tags":{"type":"string","description":"A new list of tag objects (each with 'name' and 'value')"},"priority":{"type":"string","description":"New chapter priority"}}}},{"name":"bookstack_update_page","description":"Updates a page in Bookstack","inputSchema":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the page to update"},"book_id":{"type":"string","description":"The ID of the book to move the page to"},"chapter_id":{"type":"string","description":"The ID of the chapter to move the page to"},"name":{"type":"string","description":"The new name of the page"},"markdown":{"type":"string","description":"The new page content in Markdown format"},"html":{"type":"string","description":"The new page content in HTML format"},"tags":{"type":"string","description":"A new list of tag objects (each with 'name' and 'value')"},"priority":{"type":"string","description":"New page priority"}}}},{"name":"example_tool","description":"An example tool that processes messages","inputSchema":{"type":"object","properties":{"message":{"type":"string","description":"Message to process"}}}}]
[2025-03-21T16:00:30.104Z] [DEBUG] Sending ListTools response: {"tools":[{"name":"bookstack_create_bookshelf","description":"Creates a new bookshelf in Bookstack","inputSchema":{"type":"object","properties":{"name":{"type":"string","description":"The name of the bookshelf"},"description":{"type":"string","description":"A description of the bookshelf"},"books":{"type":"string","description":"A list of book IDs to include in the shelf"},"tags":{"type":"string","description":"A list of tag objects (each with 'name' and 'value')"}}}},{"name":"bookstack_create_book","description":"Creates a new book in Bookstack","inputSchema":{"type":"object","properties":{"name":{"type":"string","description":"The name of the book"},"description":{"type":"string","description":"A description of the book"},"tags":{"type":"string","description":"A list of tag objects (each with 'name' and 'value')"},"image_id":{"type":"string","description":"The ID of an image to use as the cover"}}}},{"name":"bookstack_create_chapter","description":"Creates a new chapter in Bookstack","inputSchema":{"type":"object","properties":{"book_id":{"type":"string","description":"The ID of the book to create the chapter in"},"name":{"type":"string","description":"The name of the chapter"},"description":{"type":"string","description":"A description of the chapter"},"tags":{"type":"string","description":"A list of tag objects (each with 'name' and 'value')"},"priority":{"type":"string","description":"Chapter priority"}}}},{"name":"bookstack_create_page","description":"Creates a new page in Bookstack","inputSchema":{"type":"object","properties":{"name":{"type":"string","description":"The name of the page"},"book_id":{"type":"string","description":"The ID of the book to create the page in"},"chapter_id":{"type":"string","description":"The ID of the chapter to create the page in"},"markdown":{"type":"string","description":"The page content in Markdown format"},"html":{"type":"string","description":"The page content in HTML format"},"tags":{"type":"string","description":"A list of tag objects (each with 'name' and 'value')"},"priority":{"type":"string","description":"Page priority"}}}},{"name":"bookstack_delete_bookshelf","description":"Deletes a bookshelf from Bookstack","inputSchema":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the bookshelf to delete"}}}},{"name":"bookstack_delete_book","description":"Deletes a book from Bookstack","inputSchema":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the book to delete"}}}},{"name":"bookstack_delete_chapter","description":"Deletes a chapter from Bookstack","inputSchema":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the chapter to delete"}}}},{"name":"bookstack_delete_page","description":"Deletes a page from Bookstack","inputSchema":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the page to delete"}}}},{"name":"bookstack_list_bookshelves","description":"Lists all bookshelves in Bookstack with pagination support","inputSchema":{"type":"object","properties":{"offset":{"type":"string","description":"Number of records to skip"},"count":{"type":"string","description":"Number of records to take"}}}},{"name":"bookstack_list_books","description":"Lists all books in Bookstack with pagination support","inputSchema":{"type":"object","properties":{"offset":{"type":"string","description":"Number of records to skip"},"count":{"type":"string","description":"Number of records to take"}}}},{"name":"bookstack_list_chapters","description":"Lists all chapters in Bookstack with pagination support","inputSchema":{"type":"object","properties":{"offset":{"type":"string","description":"Number of records to skip"},"count":{"type":"string","description":"Number of records to take"}}}},{"name":"bookstack_list_pages","description":"Lists all pages in Bookstack with pagination support","inputSchema":{"type":"object","properties":{"offset":{"type":"string","description":"Number of records to skip"},"count":{"type":"string","description":"Number of records to take"}}}},{"name":"bookstack_read_bookshelf","description":"Retrieves details of a specific bookshelf in Bookstack","inputSchema":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the bookshelf to retrieve"}}}},{"name":"bookstack_read_book","description":"Retrieves details of a specific book in Bookstack","inputSchema":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the book to retrieve"}}}},{"name":"bookstack_read_chapter","description":"Retrieves details of a specific chapter in Bookstack","inputSchema":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the chapter to retrieve"}}}},{"name":"bookstack_read_page","description":"Retrieves details of a specific page in Bookstack","inputSchema":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the page to retrieve"}}}},{"name":"bookstack_update_bookshelf","description":"Updates a bookshelf in Bookstack","inputSchema":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the bookshelf to update"},"name":{"type":"string","description":"The new name of the bookshelf"},"description":{"type":"string","description":"A new description of the bookshelf"},"books":{"type":"string","description":"A new list of book IDs to include in the shelf"},"tags":{"type":"string","description":"A new list of tag objects (each with 'name' and 'value')"}}}},{"name":"bookstack_update_book","description":"Updates a book in Bookstack","inputSchema":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the book to update"},"name":{"type":"string","description":"The new name of the book"},"description":{"type":"string","description":"A new description of the book"},"tags":{"type":"string","description":"A new list of tag objects (each with 'name' and 'value')"},"image_id":{"type":"string","description":"The ID of a new image to use as the cover"}}}},{"name":"bookstack_update_chapter","description":"Updates a chapter in Bookstack","inputSchema":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the chapter to update"},"book_id":{"type":"string","description":"The ID of the book to move the chapter to"},"name":{"type":"string","description":"The new name of the chapter"},"description":{"type":"string","description":"A new description of the chapter"},"tags":{"type":"string","description":"A new list of tag objects (each with 'name' and 'value')"},"priority":{"type":"string","description":"New chapter priority"}}}},{"name":"bookstack_update_page","description":"Updates a page in Bookstack","inputSchema":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the page to update"},"book_id":{"type":"string","description":"The ID of the book to move the page to"},"chapter_id":{"type":"string","description":"The ID of the chapter to move the page to"},"name":{"type":"string","description":"The new name of the page"},"markdown":{"type":"string","description":"The new page content in Markdown format"},"html":{"type":"string","description":"The new page content in HTML format"},"tags":{"type":"string","description":"A new list of tag objects (each with 'name' and 'value')"},"priority":{"type":"string","description":"New page priority"}}}},{"name":"example_tool","description":"An example tool that processes messages","inputSchema":{"type":"object","properties":{"message":{"type":"string","description":"Message to process"}}}}]}
[2025-03-21T16:00:30.104Z] [DEBUG] Successfully processed message 1
[2025-03-21T16:00:30.105Z] [DEBUG] Transport sending message: {"result":{"tools":[{"name":"bookstack_create_bookshelf","description":"Creates a new bookshelf in Bookstack","inputSchema":{"type":"object","properties":{"name":{"type":"string","description":"The name of the bookshelf"},"description":{"type":"string","description":"A description of the bookshelf"},"books":{"type":"string","description":"A list of book IDs to include in the shelf"},"tags":{"type":"string","description":"A list of tag objects (each with 'name' and 'value')"}}}},{"name":"bookstack_create_book","description":"Creates a new book in Bookstack","inputSchema":{"type":"object","properties":{"name":{"type":"string","description":"The name of the book"},"description":{"type":"string","description":"A description of the book"},"tags":{"type":"string","description":"A list of tag objects (each with 'name' and 'value')"},"image_id":{"type":"string","description":"The ID of an image to use as the cover"}}}},{"name":"bookstack_create_chapter","description":"Creates a new chapter in Bookstack","inputSchema":{"type":"object","properties":{"book_id":{"type":"string","description":"The ID of the book to create the chapter in"},"name":{"type":"string","description":"The name of the chapter"},"description":{"type":"string","description":"A description of the chapter"},"tags":{"type":"string","description":"A list of tag objects (each with 'name' and 'value')"},"priority":{"type":"string","description":"Chapter priority"}}}},{"name":"bookstack_create_page","description":"Creates a new page in Bookstack","inputSchema":{"type":"object","properties":{"name":{"type":"string","description":"The name of the page"},"book_id":{"type":"string","description":"The ID of the book to create the page in"},"chapter_id":{"type":"string","description":"The ID of the chapter to create the page in"},"markdown":{"type":"string","description":"The page content in Markdown format"},"html":{"type":"string","description":"The page content in HTML format"},"tags":{"type":"string","description":"A list of tag objects (each with 'name' and 'value')"},"priority":{"type":"string","description":"Page priority"}}}},{"name":"bookstack_delete_bookshelf","description":"Deletes a bookshelf from Bookstack","inputSchema":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the bookshelf to delete"}}}},{"name":"bookstack_delete_book","description":"Deletes a book from Bookstack","inputSchema":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the book to delete"}}}},{"name":"bookstack_delete_chapter","description":"Deletes a chapter from Bookstack","inputSchema":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the chapter to delete"}}}},{"name":"bookstack_delete_page","description":"Deletes a page from Bookstack","inputSchema":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the page to delete"}}}},{"name":"bookstack_list_bookshelves","description":"Lists all bookshelves in Bookstack with pagination support","inputSchema":{"type":"object","properties":{"offset":{"type":"string","description":"Number of records to skip"},"count":{"type":"string","description":"Number of records to take"}}}},{"name":"bookstack_list_books","description":"Lists all books in Bookstack with pagination support","inputSchema":{"type":"object","properties":{"offset":{"type":"string","description":"Number of records to skip"},"count":{"type":"string","description":"Number of records to take"}}}},{"name":"bookstack_list_chapters","description":"Lists all chapters in Bookstack with pagination support","inputSchema":{"type":"object","properties":{"offset":{"type":"string","description":"Number of records to skip"},"count":{"type":"string","description":"Number of records to take"}}}},{"name":"bookstack_list_pages","description":"Lists all pages in Bookstack with pagination support","inputSchema":{"type":"object","properties":{"offset":{"type":"string","description":"Number of records to skip"},"count":{"type":"string","description":"Number of records to take"}}}},{"name":"bookstack_read_bookshelf","description":"Retrieves details of a specific bookshelf in Bookstack","inputSchema":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the bookshelf to retrieve"}}}},{"name":"bookstack_read_book","description":"Retrieves details of a specific book in Bookstack","inputSchema":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the book to retrieve"}}}},{"name":"bookstack_read_chapter","description":"Retrieves details of a specific chapter in Bookstack","inputSchema":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the chapter to retrieve"}}}},{"name":"bookstack_read_page","description":"Retrieves details of a specific page in Bookstack","inputSchema":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the page to retrieve"}}}},{"name":"bookstack_update_bookshelf","description":"Updates a bookshelf in Bookstack","inputSchema":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the bookshelf to update"},"name":{"type":"string","description":"The new name of the bookshelf"},"description":{"type":"string","description":"A new description of the bookshelf"},"books":{"type":"string","description":"A new list of book IDs to include in the shelf"},"tags":{"type":"string","description":"A new list of tag objects (each with 'name' and 'value')"}}}},{"name":"bookstack_update_book","description":"Updates a book in Bookstack","inputSchema":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the book to update"},"name":{"type":"string","description":"The new name of the book"},"description":{"type":"string","description":"A new description of the book"},"tags":{"type":"string","description":"A new list of tag objects (each with 'name' and 'value')"},"image_id":{"type":"string","description":"The ID of a new image to use as the cover"}}}},{"name":"bookstack_update_chapter","description":"Updates a chapter in Bookstack","inputSchema":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the chapter to update"},"book_id":{"type":"string","description":"The ID of the book to move the chapter to"},"name":{"type":"string","description":"The new name of the chapter"},"description":{"type":"string","description":"A new description of the chapter"},"tags":{"type":"string","description":"A new list of tag objects (each with 'name' and 'value')"},"priority":{"type":"string","description":"New chapter priority"}}}},{"name":"bookstack_update_page","description":"Updates a page in Bookstack","inputSchema":{"type":"object","properties":{"id":{"type":"string","description":"The ID of the page to update"},"book_id":{"type":"string","description":"The ID of the book to move the page to"},"chapter_id":{"type":"string","description":"The ID of the chapter to move the page to"},"name":{"type":"string","description":"The new name of the page"},"markdown":{"type":"string","description":"The new page content in Markdown format"},"html":{"type":"string","description":"The new page content in HTML format"},"tags":{"type":"string","description":"A new list of tag objects (each with 'name' and 'value')"},"priority":{"type":"string","description":"New page priority"}}}},{"name":"example_tool","description":"An example tool that processes messages","inputSchema":{"type":"object","properties":{"message":{"type":"string","description":"Message to process"}}}}]},"jsonrpc":"2.0","id":1}
[2025-03-21T16:00:30.111Z] [DEBUG] Incoming request: POST /messages?sessionId=69da038f-493f-4b75-a583-66e2e2a3419c
[2025-03-21T16:00:30.112Z] [DEBUG] Received message: {"method":"resources/list","jsonrpc":"2.0","id":2}
[2025-03-21T16:00:30.112Z] [DEBUG] Parsed message - ID: 2, Method: resources/list
[2025-03-21T16:00:30.112Z] [DEBUG] Processing RPC message: {"id":2,"method":"resources/list"}
[2025-03-21T16:00:30.112Z] [DEBUG] Transport sending message: {"jsonrpc":"2.0","id":2,"error":{"code":-32601,"message":"Method not found"}}
[2025-03-21T16:00:30.113Z] [DEBUG] Successfully processed message 2
[2025-03-21T16:00:30.117Z] [DEBUG] Incoming request: POST /messages?sessionId=69da038f-493f-4b75-a583-66e2e2a3419c
[2025-03-21T16:00:30.119Z] [DEBUG] Received message: {"method":"resources/templates/list","jsonrpc":"2.0","id":3}
[2025-03-21T16:00:30.119Z] [DEBUG] Parsed message - ID: 3, Method: resources/templates/list
[2025-03-21T16:00:30.119Z] [DEBUG] Processing RPC message: {"id":3,"method":"resources/templates/list"}
[2025-03-21T16:00:30.119Z] [DEBUG] Transport sending message: {"jsonrpc":"2.0","id":3,"error":{"code":-32601,"message":"Method not found"}}
[2025-03-21T16:00:30.120Z] [DEBUG] Successfully processed message 3
[2025-03-21T16:00:45.077Z] [DEBUG] Sending keep-alive ping
[2025-03-21T16:01:00.086Z] [DEBUG] Sending keep-alive ping
[2025-03-21T16:01:08.666Z] [DEBUG] Incoming request: POST /messages?sessionId=69da038f-493f-4b75-a583-66e2e2a3419c
[2025-03-21T16:01:08.667Z] [DEBUG] Received message: {"method":"tools/call","params":{"name":"bookstack_list_bookshelves","arguments":{"offset":"0","count":"10"}},"jsonrpc":"2.0","id":4}
[2025-03-21T16:01:08.667Z] [DEBUG] Parsed message - ID: 4, Method: tools/call
[2025-03-21T16:01:08.667Z] [DEBUG] Processing RPC message: {"id":4,"method":"tools/call","params":{"name":"bookstack_list_bookshelves","arguments":{"offset":"0","count":"10"}}}
[2025-03-21T16:01:08.668Z] [DEBUG] Tool call request received for: bookstack_list_bookshelves
[2025-03-21T16:01:08.668Z] [DEBUG] Tool call arguments: {"offset":"0","count":"10"}
[2025-03-21T16:01:08.668Z] [DEBUG] Executing tool: bookstack_list_bookshelves
[2025-03-21T16:01:08.669Z] [DEBUG] Successfully processed message 4
[2025-03-21T16:01:10.208Z] [DEBUG] Tool execution successful: {"content":[{"type":"text","text":"\"{\\\"data\\\": [{\\\"id\\\": 3, \\\"slug\\\": \\\"updated-test-bookshelf\\\", \\\"name\\\": \\\"Updated Test Bookshelf\\\", \\\"description\\\": \\\"This bookshelf has been updated via the API.\\\", \\\"created_at\\\": \\\"2025-02-12T17:53:05.000000Z\\\", \\\"updated_at\\\": \\\"2025-02-12T18:07:41.000000Z\\\", \\\"owned_by\\\": 1, \\\"created_by\\\": 1, \\\"updated_by\\\": 1, \\\"cover\\\": null}], \\\"total\\\": 1}\\r\\n\""}]}
[2025-03-21T16:01:10.209Z] [DEBUG] Transport sending message: {"result":{"content":[{"type":"text","text":"\"{\\\"data\\\": [{\\\"id\\\": 3, \\\"slug\\\": \\\"updated-test-bookshelf\\\", \\\"name\\\": \\\"Updated Test Bookshelf\\\", \\\"description\\\": \\\"This bookshelf has been updated via the API.\\\", \\\"created_at\\\": \\\"2025-02-12T17:53:05.000000Z\\\", \\\"updated_at\\\": \\\"2025-02-12T18:07:41.000000Z\\\", \\\"owned_by\\\": 1, \\\"created_by\\\": 1, \\\"updated_by\\\": 1, \\\"cover\\\": null}], \\\"total\\\": 1}\\r\\n\""}]},"jsonrpc":"2.0","id":4}
[2025-03-21T16:01:15.090Z] [DEBUG] Sending keep-alive ping
[2025-03-21T16:01:24.194Z] [DEBUG] Incoming request: POST /messages?sessionId=69da038f-493f-4b75-a583-66e2e2a3419c
[2025-03-21T16:01:24.195Z] [DEBUG] Received message: {"method":"tools/call","params":{"name":"bookstack_list_chapters","arguments":{"offset":"0","count":"10"}},"jsonrpc":"2.0","id":5}
[2025-03-21T16:01:24.195Z] [DEBUG] Parsed message - ID: 5, Method: tools/call
[2025-03-21T16:01:24.196Z] [DEBUG] Processing RPC message: {"id":5,"method":"tools/call","params":{"name":"bookstack_list_chapters","arguments":{"offset":"0","count":"10"}}}
[2025-03-21T16:01:24.197Z] [DEBUG] Tool call request received for: bookstack_list_chapters
[2025-03-21T16:01:24.197Z] [DEBUG] Tool call arguments: {"offset":"0","count":"10"}
[2025-03-21T16:01:24.197Z] [DEBUG] Executing tool: bookstack_list_chapters
[2025-03-21T16:01:24.198Z] [DEBUG] Successfully processed message 5
[2025-03-21T16:01:25.411Z] [DEBUG] Tool execution successful: {"content":[{"type":"text","text":"\"{\\\"data\\\": [{\\\"id\\\": 9, \\\"slug\\\": \\\"1-swarm-architecture-overview\\\", \\\"name\\\": \\\"1. Swarm Architecture Overview\\\", \\\"description\\\": \\\"High-level overview of Letta's swarm intelligence architecture, including core components and design principles.\\\", \\\"priority\\\": 2, \\\"book_id\\\": 14, \\\"created_at\\\": \\\"2025-02-13T17:50:16.000000Z\\\", \\\"updated_at\\\": \\\"2025-02-13T17:50:16.000000Z\\\", \\\"owned_by\\\": 1, \\\"book_slug\\\": \\\"letta-swarm-logic-documentation\\\", \\\"created_by\\\": 1, \\\"updated_by\\\": 1}, {\\\"id\\\": 10, \\\"slug\\\": \\\"2-agent-communication-protocol\\\", \\\"name\\\": \\\"2. Agent Communication Protocol\\\", \\\"description\\\": \\\"Detailed documentation of inter-agent communication methods, message formats, and routing systems.\\\", \\\"priority\\\": 3, \\\"book_id\\\": 14, \\\"created_at\\\": \\\"2025-02-13T17:50:21.000000Z\\\", \\\"updated_at\\\": \\\"2025-02-13T17:50:21.000000Z\\\", \\\"owned_by\\\": 1, \\\"book_slug\\\": \\\"letta-swarm-logic-documentation\\\", \\\"created_by\\\": 1, \\\"updated_by\\\": 1}, {\\\"id\\\": 11, \\\"slug\\\": \\\"3-task-distribution-and-coordination\\\", \\\"name\\\": \\\"3. Task Distribution and Coordination\\\", \\\"description\\\": \\\"Documentation of how tasks are distributed, managed, and coordinated across the swarm network.\\\", \\\"priority\\\": 4, \\\"book_id\\\": 14, \\\"created_at\\\": \\\"2025-02-13T17:50:28.000000Z\\\", \\\"updated_at\\\": \\\"2025-02-13T17:50:28.000000Z\\\", \\\"owned_by\\\": 1, \\\"book_slug\\\": \\\"letta-swarm-logic-documentation\\\", \\\"created_by\\\": 1, \\\"updated_by\\\": 1}, {\\\"id\\\": 12, \\\"slug\\\": \\\"1-telegram-bot-api-details\\\", \\\"name\\\": \\\"1. Telegram Bot API Details\\\", \\\"description\\\": \\\"Basic API details, message objects, and update handling.\\\", \\\"priority\\\": 2, \\\"book_id\\\": 15, \\\"created_at\\\": \\\"2025-02-13T22:36:33.000000Z\\\", \\\"updated_at\\\": \\\"2025-02-13T22:36:33.000000Z\\\", \\\"owned_by\\\": 1, \\\"book_slug\\\": \\\"telegram-integration-documentation\\\", \\\"created_by\\\": 1, \\\"updated_by\\\": 1}, {\\\"id\\\": 13, \\\"slug\\\": \\\"2-asynchronous-communication-best-practices\\\", \\\"name\\\": \\\"2. Asynchronous Communication Best Practices\\\", \\\"description\\\": \\\"Best practices for implementing asynchronous communication in Letta.\\\", \\\"priority\\\": 3, \\\"book_id\\\": 15, \\\"created_at\\\": \\\"2025-02-14T00:02:42.000000Z\\\", \\\"updated_at\\\": \\\"2025-02-14T00:02:42.000000Z\\\", \\\"owned_by\\\": 1, \\\"book_slug\\\": \\\"telegram-integration-documentation\\\", \\\"created_by\\\": 1, \\\"updated_by\\\": 1}, {\\\"id\\\": 14, \\\"slug\\\": \\\"3-message-handling-workflows\\\", \\\"name\\\": \\\"3. Message Handling Workflows\\\", \\\"description\\\": \\\"Defining message handling workflows for the Telegram integration.\\\", \\\"priority\\\": 4, \\\"book_id\\\": 15, \\\"created_at\\\": \\\"2025-02-14T00:03:16.000000Z\\\", \\\"updated_at\\\": \\\"2025-02-14T00:03:16.000000Z\\\", \\\"owned_by\\\": 1, \\\"book_slug\\\": \\\"telegram-integration-documentation\\\", \\\"created_by\\\": 1, \\\"updated_by\\\": 1}, {\\\"id\\\": 15, \\\"slug\\\": \\\"4-data-flow-and-structures\\\", \\\"name\\\": \\\"4. Data Flow and Structures\\\", \\\"description\\\": \\\"Defining the data flow and structures for Telegram message handling.\\\", \\\"priority\\\": 5, \\\"book_id\\\": 15, \\\"created_at\\\": \\\"2025-02-14T01:15:18.000000Z\\\", \\\"updated_at\\\": \\\"2025-02-14T01:15:18.000000Z\\\", \\\"owned_by\\\": 1, \\\"book_slug\\\": \\\"telegram-integration-documentation\\\", \\\"created_by\\\": 1, \\\"updated_by\\\": 1}, {\\\"id\\\": 16, \\\"slug\\\": \\\"1-technical-specifications\\\", \\\"name\\\": \\\"1. Technical Specifications\\\", \\\"description\\\": \\\"Technical specifications of the BrainBit EEG headband.\\\", \\\"priority\\\": 2, \\\"book_id\\\": 16, \\\"created_at\\\": \\\"2025-02-14T03:36:06.000000Z\\\", \\\"updated_at\\\": \\\"2025-02-14T03:36:06.000000Z\\\", \\\"owned_by\\\": 1, \\\"book_slug\\\": \\\"brainbit-eeg-headband-documentation\\\", \\\"created_by\\\": 1, \\\"updated_by\\\": 1}, {\\\"id\\\": 17, \\\"slug\\\": \\\"2-sdk-usage\\\", \\\"name\\\": \\\"2. SDK Usage\\\", \\\"description\\\": \\\"Documenting the usage of the BrainBit EEG Headband SDK.\\\", \\\"priority\\\": 3, \\\"book_id\\\": 16, \\\"created_at\\\": \\\"2025-02-14T03:38:04.000000Z\\\", \\\"updated_at\\\": \\\"2025-02-14T03:38:04.000000Z\\\", \\\"owned_by\\\": 1, \\\"book_slug\\\": \\\"brainbit-eeg-headband-documentation\\\", \\\"created_by\\\": 1, \\\"updated_by\\\": 1}, {\\\"id\\\": 18, \\\"slug\\\": \\\"1-capabilities-and-limitations\\\", \\\"name\\\": \\\"1. Capabilities and Limitations\\\", \\\"description\\\": \\\"Capabilities and limitations of the inline Python code execution tool.\\\", \\\"priority\\\": 2, \\\"book_id\\\": 17, \\\"created_at\\\": \\\"2025-02-14T07:51:19.000000Z\\\", \\\"updated_at\\\": \\\"2025-02-14T07:51:19.000000Z\\\", \\\"owned_by\\\": 1, \\\"book_slug\\\": \\\"inline-python-tool-documentation\\\", \\\"created_by\\\": 1, \\\"updated_by\\\": 1}], \\\"total\\\": 19}\\r\\n\""}]}
[2025-03-21T16:01:25.412Z] [DEBUG] Transport sending message: {"result":{"content":[{"type":"text","text":"\"{\\\"data\\\": [{\\\"id\\\": 9, \\\"slug\\\": \\\"1-swarm-architecture-overview\\\", \\\"name\\\": \\\"1. Swarm Architecture Overview\\\", \\\"description\\\": \\\"High-level overview of Letta's swarm intelligence architecture, including core components and design principles.\\\", \\\"priority\\\": 2, \\\"book_id\\\": 14, \\\"created_at\\\": \\\"2025-02-13T17:50:16.000000Z\\\", \\\"updated_at\\\": \\\"2025-02-13T17:50:16.000000Z\\\", \\\"owned_by\\\": 1, \\\"book_slug\\\": \\\"letta-swarm-logic-documentation\\\", \\\"created_by\\\": 1, \\\"updated_by\\\": 1}, {\\\"id\\\": 10, \\\"slug\\\": \\\"2-agent-communication-protocol\\\", \\\"name\\\": \\\"2. Agent Communication Protocol\\\", \\\"description\\\": \\\"Detailed documentation of inter-agent communication methods, message formats, and routing systems.\\\", \\\"priority\\\": 3, \\\"book_id\\\": 14, \\\"created_at\\\": \\\"2025-02-13T17:50:21.000000Z\\\", \\\"updated_at\\\": \\\"2025-02-13T17:50:21.000000Z\\\", \\\"owned_by\\\": 1, \\\"book_slug\\\": \\\"letta-swarm-logic-documentation\\\", \\\"created_by\\\": 1, \\\"updated_by\\\": 1}, {\\\"id\\\": 11, \\\"slug\\\": \\\"3-task-distribution-and-coordination\\\", \\\"name\\\": \\\"3. Task Distribution and Coordination\\\", \\\"description\\\": \\\"Documentation of how tasks are distributed, managed, and coordinated across the swarm network.\\\", \\\"priority\\\": 4, \\\"book_id\\\": 14, \\\"created_at\\\": \\\"2025-02-13T17:50:28.000000Z\\\", \\\"updated_at\\\": \\\"2025-02-13T17:50:28.000000Z\\\", \\\"owned_by\\\": 1, \\\"book_slug\\\": \\\"letta-swarm-logic-documentation\\\", \\\"created_by\\\": 1, \\\"updated_by\\\": 1}, {\\\"id\\\": 12, \\\"slug\\\": \\\"1-telegram-bot-api-details\\\", \\\"name\\\": \\\"1. Telegram Bot API Details\\\", \\\"description\\\": \\\"Basic API details, message objects, and update handling.\\\", \\\"priority\\\": 2, \\\"book_id\\\": 15, \\\"created_at\\\": \\\"2025-02-13T22:36:33.000000Z\\\", \\\"updated_at\\\": \\\"2025-02-13T22:36:33.000000Z\\\", \\\"owned_by\\\": 1, \\\"book_slug\\\": \\\"telegram-integration-documentation\\\", \\\"created_by\\\": 1, \\\"updated_by\\\": 1}, {\\\"id\\\": 13, \\\"slug\\\": \\\"2-asynchronous-communication-best-practices\\\", \\\"name\\\": \\\"2. Asynchronous Communication Best Practices\\\", \\\"description\\\": \\\"Best practices for implementing asynchronous communication in Letta.\\\", \\\"priority\\\": 3, \\\"book_id\\\": 15, \\\"created_at\\\": \\\"2025-02-14T00:02:42.000000Z\\\", \\\"updated_at\\\": \\\"2025-02-14T00:02:42.000000Z\\\", \\\"owned_by\\\": 1, \\\"book_slug\\\": \\\"telegram-integration-documentation\\\", \\\"created_by\\\": 1, \\\"updated_by\\\": 1}, {\\\"id\\\": 14, \\\"slug\\\": \\\"3-message-handling-workflows\\\", \\\"name\\\": \\\"3. Message Handling Workflows\\\", \\\"description\\\": \\\"Defining message handling workflows for the Telegram integration.\\\", \\\"priority\\\": 4, \\\"book_id\\\": 15, \\\"created_at\\\": \\\"2025-02-14T00:03:16.000000Z\\\", \\\"updated_at\\\": \\\"2025-02-14T00:03:16.000000Z\\\", \\\"owned_by\\\": 1, \\\"book_slug\\\": \\\"telegram-integration-documentation\\\", \\\"created_by\\\": 1, \\\"updated_by\\\": 1}, {\\\"id\\\": 15, \\\"slug\\\": \\\"4-data-flow-and-structures\\\", \\\"name\\\": \\\"4. Data Flow and Structures\\\", \\\"description\\\": \\\"Defining the data flow and structures for Telegram message handling.\\\", \\\"priority\\\": 5, \\\"book_id\\\": 15, \\\"created_at\\\": \\\"2025-02-14T01:15:18.000000Z\\\", \\\"updated_at\\\": \\\"2025-02-14T01:15:18.000000Z\\\", \\\"owned_by\\\": 1, \\\"book_slug\\\": \\\"telegram-integration-documentation\\\", \\\"created_by\\\": 1, \\\"updated_by\\\": 1}, {\\\"id\\\": 16, \\\"slug\\\": \\\"1-technical-specifications\\\", \\\"name\\\": \\\"1. Technical Specifications\\\", \\\"description\\\": \\\"Technical specifications of the BrainBit EEG headband.\\\", \\\"priority\\\": 2, \\\"book_id\\\": 16, \\\"created_at\\\": \\\"2025-02-14T03:36:06.000000Z\\\", \\\"updated_at\\\": \\\"2025-02-14T03:36:06.000000Z\\\", \\\"owned_by\\\": 1, \\\"book_slug\\\": \\\"brainbit-eeg-headband-documentation\\\", \\\"created_by\\\": 1, \\\"updated_by\\\": 1}, {\\\"id\\\": 17, \\\"slug\\\": \\\"2-sdk-usage\\\", \\\"name\\\": \\\"2. SDK Usage\\\", \\\"description\\\": \\\"Documenting the usage of the BrainBit EEG Headband SDK.\\\", \\\"priority\\\": 3, \\\"book_id\\\": 16, \\\"created_at\\\": \\\"2025-02-14T03:38:04.000000Z\\\", \\\"updated_at\\\": \\\"2025-02-14T03:38:04.000000Z\\\", \\\"owned_by\\\": 1, \\\"book_slug\\\": \\\"brainbit-eeg-headband-documentation\\\", \\\"created_by\\\": 1, \\\"updated_by\\\": 1}, {\\\"id\\\": 18, \\\"slug\\\": \\\"1-capabilities-and-limitations\\\", \\\"name\\\": \\\"1. Capabilities and Limitations\\\", \\\"description\\\": \\\"Capabilities and limitations of the inline Python code execution tool.\\\", \\\"priority\\\": 2, \\\"book_id\\\": 17, \\\"created_at\\\": \\\"2025-02-14T07:51:19.000000Z\\\", \\\"updated_at\\\": \\\"2025-02-14T07:51:19.000000Z\\\", \\\"owned_by\\\": 1, \\\"book_slug\\\": \\\"inline-python-tool-documentation\\\", \\\"created_by\\\": 1, \\\"updated_by\\\": 1}], \\\"total\\\": 19}\\r\\n\""}]},"jsonrpc":"2.0","id":5}
[2025-03-21T16:01:30.104Z] [DEBUG] Sending keep-alive ping
[2025-03-21T16:01:35.103Z] [DEBUG] Incoming request: POST /messages?sessionId=69da038f-493f-4b75-a583-66e2e2a3419c
[2025-03-21T16:01:35.104Z] [DEBUG] Received message: {"method":"tools/call","params":{"name":"bookstack_read_book","arguments":{"id":"14"}},"jsonrpc":"2.0","id":6}
[2025-03-21T16:01:35.104Z] [DEBUG] Parsed message - ID: 6, Method: tools/call
[2025-03-21T16:01:35.104Z] [DEBUG] Processing RPC message: {"id":6,"method":"tools/call","params":{"name":"bookstack_read_book","arguments":{"id":"14"}}}
[2025-03-21T16:01:35.105Z] [DEBUG] Tool call request received for: bookstack_read_book
[2025-03-21T16:01:35.105Z] [DEBUG] Tool call arguments: {"id":"14"}
[2025-03-21T16:01:35.105Z] [DEBUG] Executing tool: bookstack_read_book
[2025-03-21T16:01:35.106Z] [DEBUG] Successfully processed message 6
[2025-03-21T16:01:36.427Z] [DEBUG] Tool execution successful: {"content":[{"type":"text","text":"\"{\\\"id\\\": 14, \\\"name\\\": \\\"Letta Swarm Logic Documentation\\\", \\\"slug\\\": \\\"letta-swarm-logic-documentation\\\", \\\"description\\\": \\\"Comprehensive documentation of Letta's swarm intelligence system, including multi-agent coordination, communication protocols, and implementation guidelines.\\\", \\\"created_at\\\": \\\"2025-02-13T17:50:08.000000Z\\\", \\\"updated_at\\\": \\\"2025-02-13T17:50:08.000000Z\\\", \\\"created_by\\\": {\\\"id\\\": 1, \\\"name\\\": \\\"Admin\\\", \\\"slug\\\": \\\"admin\\\"}, \\\"updated_by\\\": {\\\"id\\\": 1, \\\"name\\\": \\\"Admin\\\", \\\"slug\\\": \\\"admin\\\"}, \\\"owned_by\\\": {\\\"id\\\": 1, \\\"name\\\": \\\"Admin\\\", \\\"slug\\\": \\\"admin\\\"}, \\\"default_template_id\\\": null, \\\"description_html\\\": \\\"<p>Comprehensive documentation of Letta's swarm intelligence system, including multi-agent coordination, communication protocols, and implementation guidelines.</p>\\\", \\\"contents\\\": [{\\\"id\\\": 9, \\\"name\\\": \\\"1. Swarm Architecture Overview\\\", \\\"slug\\\": \\\"1-swarm-architecture-overview\\\", \\\"book_id\\\": 14, \\\"priority\\\": 2, \\\"created_at\\\": \\\"2025-02-13T17:50:16.000000Z\\\", \\\"updated_at\\\": \\\"2025-02-13T17:50:16.000000Z\\\", \\\"url\\\": \\\"https://knowledge.oculair.ca/books/letta-swarm-logic-documentation/chapter/1-swarm-architecture-overview\\\", \\\"type\\\": \\\"chapter\\\", \\\"pages\\\": [{\\\"id\\\": 11, \\\"name\\\": \\\"Swarm Architecture Fundamentals\\\", \\\"slug\\\": \\\"swarm-architecture-fundamentals\\\", \\\"book_id\\\": 14, \\\"chapter_id\\\": 9, \\\"draft\\\": false, \\\"template\\\": false, \\\"priority\\\": 1, \\\"created_at\\\": \\\"2025-02-13T17:50:56.000000Z\\\", \\\"updated_at\\\": \\\"2025-02-13T17:50:56.000000Z\\\", \\\"url\\\": \\\"https://knowledge.oculair.ca/books/letta-swarm-logic-documentation/page/swarm-architecture-fundamentals\\\"}]}, {\\\"id\\\": 10, \\\"name\\\": \\\"2. Agent Communication Protocol\\\", \\\"slug\\\": \\\"2-agent-communication-protocol\\\", \\\"book_id\\\": 14, \\\"priority\\\": 3, \\\"created_at\\\": \\\"2025-02-13T17:50:21.000000Z\\\", \\\"updated_at\\\": \\\"2025-02-13T17:50:21.000000Z\\\", \\\"url\\\": \\\"https://knowledge.oculair.ca/books/letta-swarm-logic-documentation/chapter/2-agent-communication-protocol\\\", \\\"type\\\": \\\"chapter\\\", \\\"pages\\\": [{\\\"id\\\": 12, \\\"name\\\": \\\"Inter-Agent Communication Protocols\\\", \\\"slug\\\": \\\"inter-agent-communication-protocols\\\", \\\"book_id\\\": 14, \\\"chapter_id\\\": 10, \\\"draft\\\": false, \\\"template\\\": false, \\\"priority\\\": 1, \\\"created_at\\\": \\\"2025-02-13T17:51:13.000000Z\\\", \\\"updated_at\\\": \\\"2025-02-13T17:51:13.000000Z\\\", \\\"url\\\": \\\"https://knowledge.oculair.ca/books/letta-swarm-logic-documentation/page/inter-agent-communication-protocols\\\"}]}, {\\\"id\\\": 11, \\\"name\\\": \\\"3. Task Distribution and Coordination\\\", \\\"slug\\\": \\\"3-task-distribution-and-coordination\\\", \\\"book_id\\\": 14, \\\"priority\\\": 4, \\\"created_at\\\": \\\"2025-02-13T17:50:28.000000Z\\\", \\\"updated_at\\\": \\\"2025-02-13T17:50:28.000000Z\\\", \\\"url\\\": \\\"https://knowledge.oculair.ca/books/letta-swarm-logic-documentation/chapter/3-task-distribution-and-coordination\\\", \\\"type\\\": \\\"chapter\\\", \\\"pages\\\": [{\\\"id\\\": 13, \\\"name\\\": \\\"Task Distribution and Coordination System\\\", \\\"slug\\\": \\\"task-distribution-and-coordination-system\\\", \\\"book_id\\\": 14, \\\"chapter_id\\\": 11, \\\"draft\\\": false, \\\"template\\\": false, \\\"priority\\\": 1, \\\"created_at\\\": \\\"2025-02-13T17:51:33.000000Z\\\", \\\"updated_at\\\": \\\"2025-02-13T17:51:33.000000Z\\\", \\\"url\\\": \\\"https://knowledge.oculair.ca/books/letta-swarm-logic-documentation/page/task-distribution-and-coordination-system\\\"}]}], \\\"tags\\\": [], \\\"cover\\\": null}\\r\\n\""}]}
[2025-03-21T16:01:36.427Z] [DEBUG] Transport sending message: {"result":{"content":[{"type":"text","text":"\"{\\\"id\\\": 14, \\\"name\\\": \\\"Letta Swarm Logic Documentation\\\", \\\"slug\\\": \\\"letta-swarm-logic-documentation\\\", \\\"description\\\": \\\"Comprehensive documentation of Letta's swarm intelligence system, including multi-agent coordination, communication protocols, and implementation guidelines.\\\", \\\"created_at\\\": \\\"2025-02-13T17:50:08.000000Z\\\", \\\"updated_at\\\": \\\"2025-02-13T17:50:08.000000Z\\\", \\\"created_by\\\": {\\\"id\\\": 1, \\\"name\\\": \\\"Admin\\\", \\\"slug\\\": \\\"admin\\\"}, \\\"updated_by\\\": {\\\"id\\\": 1, \\\"name\\\": \\\"Admin\\\", \\\"slug\\\": \\\"admin\\\"}, \\\"owned_by\\\": {\\\"id\\\": 1, \\\"name\\\": \\\"Admin\\\", \\\"slug\\\": \\\"admin\\\"}, \\\"default_template_id\\\": null, \\\"description_html\\\": \\\"<p>Comprehensive documentation of Letta's swarm intelligence system, including multi-agent coordination, communication protocols, and implementation guidelines.</p>\\\", \\\"contents\\\": [{\\\"id\\\": 9, \\\"name\\\": \\\"1. Swarm Architecture Overview\\\", \\\"slug\\\": \\\"1-swarm-architecture-overview\\\", \\\"book_id\\\": 14, \\\"priority\\\": 2, \\\"created_at\\\": \\\"2025-02-13T17:50:16.000000Z\\\", \\\"updated_at\\\": \\\"2025-02-13T17:50:16.000000Z\\\", \\\"url\\\": \\\"https://knowledge.oculair.ca/books/letta-swarm-logic-documentation/chapter/1-swarm-architecture-overview\\\", \\\"type\\\": \\\"chapter\\\", \\\"pages\\\": [{\\\"id\\\": 11, \\\"name\\\": \\\"Swarm Architecture Fundamentals\\\", \\\"slug\\\": \\\"swarm-architecture-fundamentals\\\", \\\"book_id\\\": 14, \\\"chapter_id\\\": 9, \\\"draft\\\": false, \\\"template\\\": false, \\\"priority\\\": 1, \\\"created_at\\\": \\\"2025-02-13T17:50:56.000000Z\\\", \\\"updated_at\\\": \\\"2025-02-13T17:50:56.000000Z\\\", \\\"url\\\": \\\"https://knowledge.oculair.ca/books/letta-swarm-logic-documentation/page/swarm-architecture-fundamentals\\\"}]}, {\\\"id\\\": 10, \\\"name\\\": \\\"2. Agent Communication Protocol\\\", \\\"slug\\\": \\\"2-agent-communication-protocol\\\", \\\"book_id\\\": 14, \\\"priority\\\": 3, \\\"created_at\\\": \\\"2025-02-13T17:50:21.000000Z\\\", \\\"updated_at\\\": \\\"2025-02-13T17:50:21.000000Z\\\", \\\"url\\\": \\\"https://knowledge.oculair.ca/books/letta-swarm-logic-documentation/chapter/2-agent-communication-protocol\\\", \\\"type\\\": \\\"chapter\\\", \\\"pages\\\": [{\\\"id\\\": 12, \\\"name\\\": \\\"Inter-Agent Communication Protocols\\\", \\\"slug\\\": \\\"inter-agent-communication-protocols\\\", \\\"book_id\\\": 14, \\\"chapter_id\\\": 10, \\\"draft\\\": false, \\\"template\\\": false, \\\"priority\\\": 1, \\\"created_at\\\": \\\"2025-02-13T17:51:13.000000Z\\\", \\\"updated_at\\\": \\\"2025-02-13T17:51:13.000000Z\\\", \\\"url\\\": \\\"https://knowledge.oculair.ca/books/letta-swarm-logic-documentation/page/inter-agent-communication-protocols\\\"}]}, {\\\"id\\\": 11, \\\"name\\\": \\\"3. Task Distribution and Coordination\\\", \\\"slug\\\": \\\"3-task-distribution-and-coordination\\\", \\\"book_id\\\": 14, \\\"priority\\\": 4, \\\"created_at\\\": \\\"2025-02-13T17:50:28.000000Z\\\", \\\"updated_at\\\": \\\"2025-02-13T17:50:28.000000Z\\\", \\\"url\\\": \\\"https://knowledge.oculair.ca/books/letta-swarm-logic-documentation/chapter/3-task-distribution-and-coordination\\\", \\\"type\\\": \\\"chapter\\\", \\\"pages\\\": [{\\\"id\\\": 13, \\\"name\\\": \\\"Task Distribution and Coordination System\\\", \\\"slug\\\": \\\"task-distribution-and-coordination-system\\\", \\\"book_id\\\": 14, \\\"chapter_id\\\": 11, \\\"draft\\\": false, \\\"template\\\": false, \\\"priority\\\": 1, \\\"created_at\\\": \\\"2025-02-13T17:51:33.000000Z\\\", \\\"updated_at\\\": \\\"2025-02-13T17:51:33.000000Z\\\", \\\"url\\\": \\\"https://knowledge.oculair.ca/books/letta-swarm-logic-documentation/page/task-distribution-and-coordination-system\\\"}]}], \\\"tags\\\": [], \\\"cover\\\": null}\\r\\n\""}]},"jsonrpc":"2.0","id":6}
[2025-03-21T16:01:44.372Z] [DEBUG] Incoming request: POST /messages?sessionId=69da038f-493f-4b75-a583-66e2e2a3419c
[2025-03-21T16:01:44.374Z] [DEBUG] Received message: {"method":"tools/call","params":{"name":"bookstack_create_book","arguments":{"name":"Test Book from MCP Framework","description":"This is a test book created using the MCP framework."}},"jsonrpc":"2.0","id":7}
[2025-03-21T16:01:44.374Z] [DEBUG] Parsed message - ID: 7, Method: tools/call
[2025-03-21T16:01:44.374Z] [DEBUG] Processing RPC message: {"id":7,"method":"tools/call","params":{"name":"bookstack_create_book","arguments":{"name":"Test Book from MCP Framework","description":"This is a test book created using the MCP framework."}}}
[2025-03-21T16:01:44.375Z] [DEBUG] Tool call request received for: bookstack_create_book
[2025-03-21T16:01:44.375Z] [DEBUG] Tool call arguments: {"name":"Test Book from MCP Framework","description":"This is a test book created using the MCP framework."}
[2025-03-21T16:01:44.375Z] [DEBUG] Executing tool: bookstack_create_book
[2025-03-21T16:01:44.376Z] [DEBUG] Successfully processed message 7
[2025-03-21T16:01:45.111Z] [DEBUG] Sending keep-alive ping
[2025-03-21T16:01:45.732Z] [DEBUG] Tool execution successful: {"content":[{"type":"text","text":"\"{\\\"id\\\": 42, \\\"name\\\": \\\"Test Book from MCP Framework\\\", \\\"slug\\\": \\\"test-book-from-mcp-framework-bvK\\\", \\\"description\\\": \\\"This is a test book created using the MCP framework.\\\", \\\"created_at\\\": \\\"2025-03-21T16:01:45.000000Z\\\", \\\"updated_at\\\": \\\"2025-03-21T16:01:45.000000Z\\\", \\\"created_by\\\": 1, \\\"updated_by\\\": 1, \\\"owned_by\\\": 1, \\\"default_template_id\\\": null, \\\"description_html\\\": \\\"<p>This is a test book created using the MCP framework.</p>\\\", \\\"tags\\\": [], \\\"cover\\\": null}\\r\\n\""}]}
[2025-03-21T16:01:45.733Z] [DEBUG] Transport sending message: {"result":{"content":[{"type":"text","text":"\"{\\\"id\\\": 42, \\\"name\\\": \\\"Test Book from MCP Framework\\\", \\\"slug\\\": \\\"test-book-from-mcp-framework-bvK\\\", \\\"description\\\": \\\"This is a test book created using the MCP framework.\\\", \\\"created_at\\\": \\\"2025-03-21T16:01:45.000000Z\\\", \\\"updated_at\\\": \\\"2025-03-21T16:01:45.000000Z\\\", \\\"created_by\\\": 1, \\\"updated_by\\\": 1, \\\"owned_by\\\": 1, \\\"default_template_id\\\": null, \\\"description_html\\\": \\\"<p>This is a test book created using the MCP framework.</p>\\\", \\\"tags\\\": [], \\\"cover\\\": null}\\r\\n\""}]},"jsonrpc":"2.0","id":7}
[2025-03-21T16:02:00.118Z] [DEBUG] Sending keep-alive ping
[2025-03-21T16:02:06.531Z] [DEBUG] Incoming request: POST /messages?sessionId=69da038f-493f-4b75-a583-66e2e2a3419c
[2025-03-21T16:02:06.532Z] [DEBUG] Received message: {"method":"tools/call","params":{"name":"bookstack_create_chapter","arguments":{"book_id":"42","name":"Test Chapter from MCP Framework","description":"This is a test chapter created using the MCP framework."}},"jsonrpc":"2.0","id":8}
[2025-03-21T16:02:06.533Z] [DEBUG] Parsed message - ID: 8, Method: tools/call
[2025-03-21T16:02:06.533Z] [DEBUG] Processing RPC message: {"id":8,"method":"tools/call","params":{"name":"bookstack_create_chapter","arguments":{"book_id":"42","name":"Test Chapter from MCP Framework","description":"This is a test chapter created using the MCP framework."}}}
[2025-03-21T16:02:06.533Z] [DEBUG] Tool call request received for: bookstack_create_chapter
[2025-03-21T16:02:06.533Z] [DEBUG] Tool call arguments: {"book_id":"42","name":"Test Chapter from MCP Framework","description":"This is a test chapter created using the MCP framework."}
[2025-03-21T16:02:06.533Z] [DEBUG] Executing tool: bookstack_create_chapter
[2025-03-21T16:02:06.534Z] [DEBUG] Successfully processed message 8
[2025-03-21T16:02:07.969Z] [DEBUG] Tool execution successful: {"content":[{"type":"text","text":"\"{\\\"id\\\": 28, \\\"book_id\\\": 42, \\\"slug\\\": \\\"test-chapter-from-mcp-framework\\\", \\\"name\\\": \\\"Test Chapter from MCP Framework\\\", \\\"description\\\": \\\"This is a test chapter created using the MCP framework.\\\", \\\"priority\\\": 2, \\\"created_at\\\": \\\"2025-03-21T16:02:08.000000Z\\\", \\\"updated_at\\\": \\\"2025-03-21T16:02:08.000000Z\\\", \\\"created_by\\\": 1, \\\"updated_by\\\": 1, \\\"owned_by\\\": 1, \\\"description_html\\\": \\\"<p>This is a test chapter created using the MCP framework.</p>\\\", \\\"default_template_id\\\": null, \\\"book_slug\\\": \\\"test-book-from-mcp-framework-bvK\\\", \\\"tags\\\": []}\\r\\n\""}]}
[2025-03-21T16:02:07.969Z] [DEBUG] Transport sending message: {"result":{"content":[{"type":"text","text":"\"{\\\"id\\\": 28, \\\"book_id\\\": 42, \\\"slug\\\": \\\"test-chapter-from-mcp-framework\\\", \\\"name\\\": \\\"Test Chapter from MCP Framework\\\", \\\"description\\\": \\\"This is a test chapter created using the MCP framework.\\\", \\\"priority\\\": 2, \\\"created_at\\\": \\\"2025-03-21T16:02:08.000000Z\\\", \\\"updated_at\\\": \\\"2025-03-21T16:02:08.000000Z\\\", \\\"created_by\\\": 1, \\\"updated_by\\\": 1, \\\"owned_by\\\": 1, \\\"description_html\\\": \\\"<p>This is a test chapter created using the MCP framework.</p>\\\", \\\"default_template_id\\\": null, \\\"book_slug\\\": \\\"test-book-from-mcp-framework-bvK\\\", \\\"tags\\\": []}\\r\\n\""}]},"jsonrpc":"2.0","id":8}
[2025-03-21T16:02:14.950Z] [DEBUG] Incoming request: POST /messages?sessionId=69da038f-493f-4b75-a583-66e2e2a3419c
[2025-03-21T16:02:14.951Z] [DEBUG] Received message: {"method":"tools/call","params":{"name":"bookstack_update_book","arguments":{"id":"42","name":"Updated Test Book from MCP Framework","description":"This is an updated test book created using the MCP framework."}},"jsonrpc":"2.0","id":9}
[2025-03-21T16:02:14.951Z] [DEBUG] Parsed message - ID: 9, Method: tools/call
[2025-03-21T16:02:14.952Z] [DEBUG] Processing RPC message: {"id":9,"method":"tools/call","params":{"name":"bookstack_update_book","arguments":{"id":"42","name":"Updated Test Book from MCP Framework","description":"This is an updated test book created using the MCP framework."}}}
[2025-03-21T16:02:14.952Z] [DEBUG] Tool call request received for: bookstack_update_book
[2025-03-21T16:02:14.953Z] [DEBUG] Tool call arguments: {"id":"42","name":"Updated Test Book from MCP Framework","description":"This is an updated test book created using the MCP framework."}
[2025-03-21T16:02:14.953Z] [DEBUG] Executing tool: bookstack_update_book
[2025-03-21T16:02:14.954Z] [DEBUG] Successfully processed message 9
[2025-03-21T16:02:15.129Z] [DEBUG] Sending keep-alive ping
[2025-03-21T16:02:17.253Z] [DEBUG] Tool execution successful: {"content":[{"type":"text","text":"\"{\\\"id\\\": 42, \\\"name\\\": \\\"Updated Test Book from MCP Framework\\\", \\\"slug\\\": \\\"updated-test-book-from-mcp-framework\\\", \\\"description\\\": \\\"This is an updated test book created using the MCP framework.\\\", \\\"created_at\\\": \\\"2025-03-21T16:01:45.000000Z\\\", \\\"updated_at\\\": \\\"2025-03-21T16:02:17.000000Z\\\", \\\"created_by\\\": 1, \\\"updated_by\\\": 1, \\\"owned_by\\\": 1, \\\"default_template_id\\\": null, \\\"description_html\\\": \\\"<p>This is an updated test book created using the MCP framework.</p>\\\", \\\"tags\\\": [], \\\"cover\\\": null}\\r\\n\""}]}
[2025-03-21T16:02:17.253Z] [DEBUG] Transport sending message: {"result":{"content":[{"type":"text","text":"\"{\\\"id\\\": 42, \\\"name\\\": \\\"Updated Test Book from MCP Framework\\\", \\\"slug\\\": \\\"updated-test-book-from-mcp-framework\\\", \\\"description\\\": \\\"This is an updated test book created using the MCP framework.\\\", \\\"created_at\\\": \\\"2025-03-21T16:01:45.000000Z\\\", \\\"updated_at\\\": \\\"2025-03-21T16:02:17.000000Z\\\", \\\"created_by\\\": 1, \\\"updated_by\\\": 1, \\\"owned_by\\\": 1, \\\"default_template_id\\\": null, \\\"description_html\\\": \\\"<p>This is an updated test book created using the MCP framework.</p>\\\", \\\"tags\\\": [], \\\"cover\\\": null}\\r\\n\""}]},"jsonrpc":"2.0","id":9}
[2025-03-21T16:02:22.384Z] [DEBUG] Incoming request: POST /messages?sessionId=69da038f-493f-4b75-a583-66e2e2a3419c
[2025-03-21T16:02:22.385Z] [DEBUG] Received message: {"method":"tools/call","params":{"name":"bookstack_delete_book","arguments":{"id":"42"}},"jsonrpc":"2.0","id":10}
[2025-03-21T16:02:22.385Z] [DEBUG] Parsed message - ID: 10, Method: tools/call
[2025-03-21T16:02:22.385Z] [DEBUG] Processing RPC message: {"id":10,"method":"tools/call","params":{"name":"bookstack_delete_book","arguments":{"id":"42"}}}
[2025-03-21T16:02:22.386Z] [DEBUG] Tool call request received for: bookstack_delete_book
[2025-03-21T16:02:22.386Z] [DEBUG] Tool call arguments: {"id":"42"}
[2025-03-21T16:02:22.386Z] [DEBUG] Executing tool: bookstack_delete_book
[2025-03-21T16:02:22.387Z] [DEBUG] Successfully processed message 10
[2025-03-21T16:02:25.014Z] [DEBUG] Tool execution successful: {"content":[{"type":"text","text":"\"{\\\"success\\\": true, \\\"message\\\": \\\"Book with ID 42 deleted successfully\\\"}\\r\\n\""}]}
[2025-03-21T16:02:25.015Z] [DEBUG] Transport sending message: {"result":{"content":[{"type":"text","text":"\"{\\\"success\\\": true, \\\"message\\\": \\\"Book with ID 42 deleted successfully\\\"}\\r\\n\""}]},"jsonrpc":"2.0","id":10}
[2025-03-21T16:02:30.133Z] [DEBUG] Sending keep-alive ping
[2025-03-21T16:02:45.138Z] [DEBUG] Sending keep-alive ping
[2025-03-21T16:03:00.148Z] [DEBUG] Sending keep-alive ping
[2025-03-21T16:03:15.158Z] [DEBUG] Sending keep-alive ping