glm_shell_exec
Run whitelist-approved shell commands with configurable working directory, timeout, and stderr capture for secure system automation.
Instructions
제한적 쉘 명령 실행 (화이트리스트 기반).
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": {
"command": "<command>"
},
"name": "glm_shell_exec"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | 실행할 명령어 (화이트리스트 기반) | |
| cwd | No | 작업 디렉토리 (기본값: 프로젝트 루트) | |
| timeout | No | 실행 제한 시간 (초, 기본 60초, 최대 300초) | |
| capture_stderr | No | stderr도 함께 캡처 |