List script files
list_script_filesThe script files a workflow can already read, newest first.
Call it after the user uploads one in the browser, to learn its upload_id — never guess one. Each row carries the filename, its character and line counts, and a download link.
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": {
"workflow_id": "<workflow_id>"
},
"name": "list_script_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many rows to return. Raise it only if the user asked for more. | |
| workflow_id | Yes | The workflow_id from list_workflows. Never invent one. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| files | No | ||
| next_step | No | ||
| workflow_id | No |