tools

Stage one file upsert or delete inside a change set

Stage one file upsert or delete inside a change set. Does not modify the live app until apply_change_set. Paths follow the Fine Structure app file API, documented at https://finestructure.ai/api/mcp/docs.

post/api/mcp/tools/add_file_change

Request

  • Base URL: https://finestructure.ai
  • URL: https://finestructure.ai/api/mcp/tools/add_file_change
  • Auth: HTTP bearer

Request body

app_idstring required

The app ID

change_set_idstring required

Change set ID

pathstring required

Virtual file path

contentstring

Complete file contents for upsert

file_typestring

Optional file type override

operation'upsert' | 'delete'

Response

Tool executed successfully

okboolean required
toolstring required
resultobject required

Changes

No recorded changes to this operation across all 2 revisions of this API.