---
title: "Compatibility tool that updates one record by ID"
method: POST
path: "/api/mcp/tools/update_entity_record"
tags: ["tools"]
---

# Compatibility tool that updates one record by ID

`POST /api/mcp/tools/update_entity_record`

## Request

- Base URL: `https://finestructure.ai`
- URL: `https://finestructure.ai/api/mcp/tools/update_entity_record`
- Auth: HTTP bearer

Compatibility tool that updates one record by ID. Executes directly for the authenticated app owner.

## Request body

- object
  - `app_id` string, required: The app ID
  - `entity` string, required: Entity name
  - `record_id` string, required: Record ID
  - `data` object, required: Fields to merge into the record
  - `reason` string: Why this record should be updated

## Response `200`

Tool executed successfully

- ToolResult
  - `ok` boolean, required
  - `tool` string, required
  - `result` object, required

## Other responses

- `400`: Invalid arguments for this tool
- `401`: Missing or invalid bearer token
- `402`: Not enough credits on the account
- `403`: Token scope does not permit this tool
- `404`: Unknown tool name
- `429`: Rate limit exceeded, retry after the indicated delay
- `500`: Internal error while executing the tool

---

[API](https://skmtc.dev/finestructure/apis/fine-structure-api.md) · [All operations](https://skmtc.dev/finestructure/apis/fine-structure-api/llms.txt) · [OpenAPI document](https://skmtc.dev/finestructure/apis/fine-structure-api/revisions/02c50ed5fd70?raw)
