diff options
| author | Mohamed Bassem <me@mbassem.com> | 2025-11-23 13:25:58 +0000 |
|---|---|---|
| committer | Mohamed Bassem <me@mbassem.com> | 2025-11-23 13:26:13 +0000 |
| commit | 0d14130ccb4ec83c254e4ed8df0b655b7068f162 (patch) | |
| tree | 780265ef44d724b1db7da906f7a33a76855d41cd /apps | |
| parent | c5c71ba9507f1c739773cf2677c53f83d29300bc (diff) | |
| download | karakeep-0d14130ccb4ec83c254e4ed8df0b655b7068f162.tar.zst | |
fix(mcp): propagate parent id to createList call. fixes: #2144
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/mcp/src/lists.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/mcp/src/lists.ts b/apps/mcp/src/lists.ts index 15abf483..dbc1be64 100644 --- a/apps/mcp/src/lists.ts +++ b/apps/mcp/src/lists.ts @@ -110,11 +110,12 @@ mcpServer.tool( .optional() .describe(`The parent list id of this list.`), }, - async ({ name, icon }): Promise<CallToolResult> => { + async ({ name, icon, parentId }): Promise<CallToolResult> => { const res = await karakeepClient.POST("/lists", { body: { name, icon, + parentId, }, }); if (res.error) { |
