diff options
| author | Mohamed Bassem <me@mbassem.com> | 2025-04-13 14:07:22 +0000 |
|---|---|---|
| committer | Mohamed Bassem <me@mbassem.com> | 2025-04-13 14:07:22 +0000 |
| commit | 7853096cfcc735c0246bb9d0a0e2b8da86547ba7 (patch) | |
| tree | 5897271662d970fa8a62d415a5487c74c5ddf8c5 /apps/mcp/src | |
| parent | a4d5be3a3a031c039568b5cb4e7e2305f8e4f283 (diff) | |
| download | karakeep-7853096cfcc735c0246bb9d0a0e2b8da86547ba7.tar.zst | |
fix(mcp): Allow accessing asset extracted content in MCP
Diffstat (limited to 'apps/mcp/src')
| -rw-r--r-- | apps/mcp/src/bookmarks.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/mcp/src/bookmarks.ts b/apps/mcp/src/bookmarks.ts index ed2da2fd..14043489 100644 --- a/apps/mcp/src/bookmarks.ts +++ b/apps/mcp/src/bookmarks.ts @@ -161,7 +161,7 @@ mcpServer.tool( } else if (res.data.content.type === "text") { content = res.data.content.text; } else if (res.data.content.type === "asset") { - content = ""; + content = res.data.content.content; } return { content: [ |
