tdx-people-update
Update TDX person records by providing UID and field data to modify employee information in the system.
Instructions
Update a TDX person
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | Person UID | |
| data | Yes | Person data (PascalCase TDX field names) |
Implementation Reference
- src/tools/people.ts:77-92 (handler)Handler and registration for the 'tdx-people-update' tool.
server.tool( "tdx-people-update", "Update a TDX person", { uid: z.string().describe("Person UID"), data: z.record(z.unknown()).describe("Person data (PascalCase TDX field names)"), }, async (params) => { try { const result = await client.post(`/people/${params.uid}`, params.data); return { content: [{ type: "text", text: JSON.stringify(result, null, 2) }] }; } catch (e: unknown) { return { content: [{ type: "text", text: String(e) }], isError: true }; } } );