Write a skill file
skill_file_writeCreate or replace one companion file of a skill: a script, template or reference that sits next to its SKILL.md. Meant for files beside the skill body; the SKILL.md itself is written with the skill. Text goes in as utf8, a binary file as base64. Replacing overwrites the whole file. A file may hold 2 MB, a skill 300 files and 24 MB in all. Answers "Saved / ( bytes)". Docs: https://only-mcp.com/docs/import-and-sync#keep-clients-in-step
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": {
"skill": "<skill>",
"path": "<path>",
"content": "<content>"
},
"name": "skill_file_write"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path inside the skill, for example scripts/scan.sh. | |
| skill | Yes | The skill name. | |
| content | Yes | The full new content. | |
| encoding | No | utf8 for text, base64 for binary. Defaults to utf8. |