@runtypelabs/cli 2.56.7 → 2.57.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -3
- package/dist/index.js +1568 -237
- package/package.json +5 -4
package/README.md
CHANGED
|
@@ -178,9 +178,11 @@ runtype mcp tools --server code
|
|
|
178
178
|
runtype mcp call execute --server code -F code=@query.js --json
|
|
179
179
|
```
|
|
180
180
|
|
|
181
|
-
`-f key=value` always sends a string. `-F key=value` parses JSON scalar, array, and object values
|
|
182
|
-
|
|
183
|
-
|
|
181
|
+
`-f key=value` always sends a string. `-F key=value` parses JSON scalar, array, and object values,
|
|
182
|
+
then follows the tool's input schema: a string field keeps `-F id=123` as `"123"`. Prefix the value
|
|
183
|
+
with `@` to read it from a file or use `@-` for stdin; `key[sub]=v` and `key[]=v` build nested
|
|
184
|
+
objects and arrays. Use `--json-body` or `--input` for a complete arguments object; `-f`/`-F` fields
|
|
185
|
+
override matching keys in it. The `call` command sends the provided name directly to MCP, so
|
|
184
186
|
new server tools work without a CLI release. Tool calls wait up to 930 seconds by default so
|
|
185
187
|
long-running flows can complete; use `--timeout <ms>` to choose a different deadline. The separate
|
|
186
188
|
`runtype tools` command manages saved runtime tools. Run `runtype auth login` first or set
|