Skip to content

Commit 1d57c06

Browse files
committed
docs(session-management): note mcpli dash/underscore tool-name normalization; hyphenated CLI samples are valid
1 parent 99c77be commit 1d57c06

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

docs/session_management_plan.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ mcpli --raw session-show-defaults -- node build/index.js
462462

463463
```bash
464464
# Optionally provide a scratch derived data path and a short timeout
465-
mcpli --tool-timeout=60 --raw build_sim --derivedDataPath "/tmp/XBMCP_DD" -- node build/index.js
465+
mcpli --tool-timeout=60 --raw build-sim --derivedDataPath "/tmp/XBMCP_DD" -- node build/index.js
466466
```
467467

468468
Troubleshooting:
@@ -478,6 +478,7 @@ Notes:
478478

479479
- Public schemas for session‑aware tools intentionally omit session fields (e.g., `scheme`, `projectPath`, `simulatorName`). Provide them once via `session-set-defaults` and then call the tool with zero/minimal flags.
480480
- Use `--tool-timeout=<seconds>` to cap long‑running builds during manual testing.
481+
- mcpli CLI normalizes tool names: tools exported with underscores (e.g., `build_sim`) can be invoked with hyphens (e.g., `build-sim`). Copy/paste samples using hyphens are valid because mcpli converts underscores to dashes.
481482

482483
## Next Steps
483484

0 commit comments

Comments
 (0)