save_script
Save an automation script to the team-memory scripts directory for zero-token execution nodes.
Instructions
Save a local automation script to the team-memory scripts/ directory. This is useful for zero-token execution nodes.
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": {
"name": "<name>",
"code": "<code>"
},
"name": "save_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Working directory. Defaults to current working directory. | |
| ext | No | File extension. Default: "js". | |
| code | Yes | The raw script code. | |
| name | Yes | Name of the script without extension (e.g. "build-checker"). |