一键导入
gateway-query
Query and manage Gateway configuration (restart/config.get/config.schema/config.apply/config.patch/update.run).
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Query and manage Gateway configuration (restart/config.get/config.schema/config.apply/config.patch/update.run).
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Execute a single agent step with custom system prompt and wait for completion.
Control the CARNELIAN browser control server (status/start/stop/tabs/snapshot/screenshot/navigate/act). Routes to the local browser control HTTP server.
Render canvas graphics and visualizations via Carnelian gateway node.invoke API
Communicate with Windsurf Cascade via JSONL channel files (message/delegate/request_help/share_context/status).
Manage Gateway cron jobs (status/list/add/update/remove/run/runs) and send wake events.
Send a message to a Discord channel via the Discord REST API
| name | gateway-query |
| description | Query and manage Gateway configuration (restart/config.get/config.schema/config.apply/config.patch/update.run). |
| metadata | {"CARNELIAN":{"emoji":"⚙️","requires":{"env":["GATEWAY_URL","GATEWAY_TOKEN"]},"primaryEnv":"GATEWAY_URL"},"carnelian":{"runtime":"node","version":"1.0.0","sandbox":{"network":"localhost","resourceLimits":{"maxMemoryMB":64,"maxCpuPercent":10,"timeoutSecs":15},"env":{"GATEWAY_URL":"${GATEWAY_URL}","GATEWAY_TOKEN":"${GATEWAY_TOKEN}"}},"capabilities":["net.ws"]}} |
Query and manage Gateway configuration (restart/config.get/config.schema/config.apply/config.patch/update.run).
Ported from CARNELIAN gateway-tool.ts.
{
action: string; // Required: action to perform
raw?: string; // Optional: raw config for apply/patch
baseHash?: string; // Optional: base hash for apply/patch
sessionKey?: string; // Optional: session key
note?: string; // Optional: note for config changes
restartDelayMs?: number; // Optional: restart delay
delayMs?: number; // Optional: delay for restart action
reason?: string; // Optional: reason for restart
}
| Action | Description | Required Fields |
|---|---|---|
config.get | Get current configuration | - |
config.schema | Get configuration schema | - |
config.apply | Apply new configuration | raw |
config.patch | Patch configuration | raw |
update.run | Run gateway update | - |
restart | Restart gateway | - |
Returns JSON response from the gateway.
ws://127.0.0.1:18789restart requires commands.restart=true in the gateway configrestart triggers SIGUSR1 and is fire-and-forget (WebSocket will close)config.apply and config.patch obtain baseHash from config.get if not provided