mcp_script_list
Lists files in a specified agent's scripts folder and reports write permissions (enabled, default key, or locked) to verify if writes are allowed.
Instructions
List the files in agent's scripts/ folder (the folder sensors run from): scripts ([{name, size, modified}]) and write: "enabled", "default_key" (writes are refused until the agent's api_key is changed from the default) or "locked" (a write.lock file there blocks every write).
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": {
"agent": "<agent>"
},
"name": "mcp_script_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | Yes |