写入文件
write_fileAtomically create or overwrite text files with full content. Use for new files or complete rewrites; for precise edits, choose edit_file or apply_patch instead.
Instructions
以原子替换方式创建或完整写入文本文件。已有文件默认允许覆盖;精确修改优先使用 edit_file 或 apply_patch。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| content | Yes | ||
| overwrite | No | ||
| create_only | No |