settings-preferences-update
Modify user preferences in the LLM Conveyors platform to customize AI agent behavior for job hunting, B2B sales, and resume analysis tasks.
Instructions
Update the current user's preferences. Returns the updated preferences.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| preferences | Yes | Preferences object to update |
Implementation Reference
- src/tools/settings.ts:36-53 (handler)The 'settings-preferences-update' tool is registered and its handler is defined here, which calls client.settings.updatePreferences.
server.tool( "settings-preferences-update", "Update the current user's preferences. Returns the updated preferences.", { preferences: z.record(z.unknown()).describe("Preferences object to update"), }, async (params) => { try { const result = await client.settings.updatePreferences({ preferences: params.preferences, }); return { content: [{ type: "text", text: JSON.stringify(result, null, 2) }] }; } catch (err) { const message = err instanceof Error ? err.message : String(err); return { content: [{ type: "text", text: `Error: ${message}` }], isError: true }; } }, );