heim_update
Update the Heim MCP server to maintain compatibility and access new features for backend application development.
Instructions
Updates Heim to the latest version.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools.ts:251-280 (registration)Registers the "heim_update" tool with server.tool(). The inline handler executes the 'heim update' command using promisified child_process.exec, returns stdout/stderr as text content, or error response if failed. No input schema specified (no parameters).server.tool( "heim_update", "Updates Heim to the latest version.", { title: "Update Heim", destructiveHint: false, readOnlyHint: false, idempotentHint: false, openWorldHint: false, }, async () => { const execPromise = util.promisify(exec); try { const { stdout, stderr } = await execPromise("heim update"); return { content: [ { type: "text", text: `stdout:\n${stdout}\nstderr:\n${stderr}`, }, ], }; } catch (err: any) { return { content: [{ type: "text", text: `Error: ${err.message}` }], isError: true, }; } } );