Write files into the project
cap_write_filesCreates missing folders and writes multiple files into a CAP project with paths relative to the project root, enabling batch file setup without manual directory preparation.
Instructions
Writes one or more files into the given CAP project. Creates folders when missing.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"projectPath": "<projectPath>",
"files": "<files>"
},
"name": "cap_write_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | Files to write, path relative to projectPath | |
| projectPath | Yes | CAP project root path |