script_add
Add a new executable script to the ScriptFlow repository, including code, language, tags, parameters, and description, to create reusable, version-controlled workflows.
Instructions
Add a new script to the repository
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>",
"description": "<description>",
"content": "<content>"
},
"name": "script_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Script name (without extension) | |
| tags | No | Optional tags for categorization | |
| content | Yes | Script content/code | |
| language | No | Programming language (bash, python, node, etc.) | bash |
| parameters | No | Optional parameter descriptions | |
| description | Yes | Description of what the script does |