glm_5_run_controlled_agent
Execute a read-only GLM agent loop in an approved directory to inspect files, search text, and list contents without writing or running commands.
Instructions
Run a bounded, read-only GLM tool-use loop within an approved directory. It cannot write files or run arbitrary commands.
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": {
"task": "<task>"
},
"name": "glm_5_run_controlled_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | ||
| dryRun | No | ||
| context | No | ||
| allowedTools | No | ||
| createSession | No | ||
| maxIterations | No | ||
| workingDirectory | No |