cc_send_slash_command
Send internal slash commands (e.g., /init, /compact) to control desktop MCP actions with optional confirmation and session targeting.
Instructions
发送 /init、/compact、/model 等内部命令;默认允许,可通过配置收紧。
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": "cc_send_slash_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | ||
| command | Yes | ||
| confirm | No | ||
| session_id | No | default | |
| allow_frontmost | No |