mirror of
https://github.com/storytold/lightcraft.git
synced 2026-10-24 10:09:01 -06:00
docs/mcp: quote bracketed run values for the shell
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
9e8d75300f
commit
5d6b889e45
+1
-1
@@ -146,7 +146,7 @@ invalid params, -32002 resource not found).
|
||||
For agents that prefer a shell over an MCP session: run any chain of commands in one process and read one JSON
|
||||
line per command (`{"command", "ok", "result" | "error", "ms"}`; non-zero exit status on failure). A word without
|
||||
`=` starts the next command; `key=value` values are JSON when they parse, else strings; a `'{…}'` argument merges a
|
||||
JSON object into the params.
|
||||
JSON object into the params. Quote values with brackets or spaces for your shell (`'ids=[3,4]'`; zsh treats `[…]` as a glob).
|
||||
|
||||
```sh
|
||||
# headless: import, edit, export
|
||||
|
||||
Reference in New Issue
Block a user