diff options
| author | Mohamed Bassem <me@mbassem.com> | 2025-04-16 19:04:25 +0000 |
|---|---|---|
| committer | Mohamed Bassem <me@mbassem.com> | 2025-04-16 23:50:17 +0000 |
| commit | ba89a864bb4548623ca1bfcfc9ab6eb7fe782603 (patch) | |
| tree | e3b8ddf9d418255f95c18bee76350d441fdd3081 /apps/mcp/src/bookmarks.ts | |
| parent | 5e0f4de1625957c6ce057ae272aa301fc459d31b (diff) | |
| download | karakeep-ba89a864bb4548623ca1bfcfc9ab6eb7fe782603.tar.zst | |
fix: Add includeContent to search endpoint and document it in the docs
Diffstat (limited to 'apps/mcp/src/bookmarks.ts')
| -rw-r--r-- | apps/mcp/src/bookmarks.ts | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/mcp/src/bookmarks.ts b/apps/mcp/src/bookmarks.ts index 14043489..57b6959b 100644 --- a/apps/mcp/src/bookmarks.ts +++ b/apps/mcp/src/bookmarks.ts @@ -36,6 +36,7 @@ machine learning is:fav`), query: { q: query, limit: 10, + includeContent: false, }, }, }); @@ -63,6 +64,9 @@ mcpServer.tool( path: { bookmarkId, }, + query: { + includeContent: false, + }, }, }); if (res.error) { @@ -149,6 +153,9 @@ mcpServer.tool( path: { bookmarkId, }, + query: { + includeContent: true, + }, }, }); if (res.error) { |
