dingtalk_cli
Run any dws subcommand through a single escape hatch and return its output as JSON, letting agents execute DingTalk operations not covered by dedicated tools.
Instructions
Escape hatch: run an arbitrary dws subcommand and return its JSON output. Pass the argv array without the binary name, e.g. ["contact","dept","get-info","--dept-id","123"]. Output is always requested as --format json.
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": {
"argv": "<argv>"
},
"name": "dingtalk_cli"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| argv | Yes | dws arguments |