filesystem
Write file
Write the raw request body to an absolute path or a path relative to the requested location, creating parent directories, and return the resolved absolute path. Unlike read, the target is not confined to the location. Experimental: may change without compatibility guarantees.
post/api/experimental/fs/write
Request
- Base URL: https://opencode.ai (the document declares no server; this is the origin it was published from)
- URL: https://opencode.ai/api/experimental/fs/write
- Auth: none required
Query parameters
pathstring required
An absolute path or a path relative to the requested location. Missing parent directories are created.
Response
Success
Changes
No recorded changes to this operation across all 1 revision of this API.