tools

Create or replace one file in an app's virtual filesystem

Create or replace one file in an app's virtual filesystem. Creates a Saved Version before changing content. Paths and file model follow the Fine Structure app file API, documented at https://finestructure.ai/api/mcp/docs.

post/api/mcp/tools/write_app_file

Request

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

Request body

app_idstring required

The app ID

pathstring required

Virtual file path

contentstring required

Complete file contents

file_typestring

Optional file type override

Response

Tool executed successfully

okboolean required
toolstring required
resultobject required

Changes

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