Create file
create_fileCreate a private document or folder in the user's Replo Files. Documents require a source: inline text, inline base64, or an asset already in this Replo project (copied; the asset stays). Nothing is fetched from a URL or an outside service. Folders have no source. Name conflicts never overwrite. For multi-step Replo work, call skills with name "replo".
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": {
"projectId": "<projectId>",
"name": "<name>",
"kind": "<kind>"
},
"name": "create_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| name | Yes | ||
| source | No | Required when kind is file. Omit when kind is folder. Inline text, inline base64, or an asset already in this Replo project; nothing is fetched from a URL or an outside service. | |
| parentId | No | ||
| projectId | Yes |