rename_record_template
Rename a record template in an Airtable base by specifying the base ID, template ID, and new name.
Instructions
Rename an existing record template.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| appId | Yes | The Airtable base/application ID | |
| templateId | Yes | The template ID (rtpXXX) | |
| name | Yes | New template name | |
| debug | No | When true, include raw Airtable response in output for diagnostics |
Implementation Reference
- The actual handler function for the rename_record_template tool. It calls client.renameRowTemplate() and returns the result.
async rename_record_template({ appId, templateId, name, debug }) { const result = await client.renameRowTemplate(appId, templateId, name); return ok({ updated: true, templateId, name }, result, debug); }, - Input schema definition for rename_record_template (name, description, inputSchema with appId, templateId, name, debug).
{ name: 'rename_record_template', description: 'Rename an existing record template.', annotations: { readOnlyHint: false, destructiveHint: false, idempotentHint: true, openWorldHint: false }, inputSchema: { type: 'object', properties: { appId: { type: 'string', description: 'The Airtable base/application ID' }, templateId: { type: 'string', description: 'The template ID (rtpXXX)' }, name: { type: 'string', description: 'New template name' }, debug: debugProp, }, required: ['appId', 'templateId', 'name'], }, }, - The client-side implementation renameRowTemplate() that sends POST to /v0.3/rowTemplate/{templateId}/updateName.
async renameRowTemplate(appId, templateId, name) { assertAirtableId(appId, 'appId'); const url = `https://airtable.com/v0.3/rowTemplate/${templateId}/updateName`; const res = await this.auth.postForm(url, this._mutationParams({ name }, appId), appId); if (!res.ok) { const errBody = await res.text().catch(() => ''); throw new Error(`renameRowTemplate failed (${res.status}): ${errBody}`); } return res.json(); } - packages/mcp-server/src/tool-config.js:35-35 (registration)Tool category registration mapping rename_record_template to 'table-write' category.
rename_record_template: 'table-write', - packages/extension/src/mcp/tool-profile.ts:46-46 (registration)Extension-side tool profile registration mapping rename_record_template to 'table-write' category.
rename_record_template: 'table-write',