tools

Rename or move one app source file atomically

Rename or move one app source file atomically. Internally stages an upsert at new_path and a delete at old_path, validates the resulting app state, and creates a Saved Version before applying.

post/api/mcp/tools/rename_app_file

Request

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

Request body

app_idstring required

The app ID

old_pathstring required

Existing virtual file path to rename

new_pathstring required

New virtual file path

overwriteboolean

Allow replacing an existing file at new_path

forceboolean

Apply even if validation reports blocking errors

Response

Tool executed successfully

okboolean required
toolstring required
resultobject required

Changes

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