write_file
Write text content to a file path in the workspace, auto-creating missing directories and overwriting any existing file content.
Instructions
把文本内容写入 workspace 内的文件;文件或上级目录不存在则自动创建。
Args: path: 相对于 workspace 的文件路径。 content: 要写入的文本,会整体覆盖已有内容。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| content | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |