Make the MCP tool descriptions shorter and consistent, with the UI locators described once

This commit is contained in:
SoftFever committed 2026-11-04 04:03:04 +08:00
1 parent 3050fbc6a6
commit 5e5571a99f
10 files changed
+213 -198

No files matched your search

+1 -1
View File
@@ -209,7 +209,7 @@ void register_python_tools(McpService& service)
"python_api says is installed or not; a file run's PEP 723 block can install it. The code runs on a worker "
"thread, where calls documented as UI thread only raise RuntimeError. The run ends once its code and the non-daemon "
"threads and pool tasks it started are done; its windows close with it. `args` holds the args you pass; set `result` "
"to a JSON value to return it; print() output comes back as output. Returns {status: finished | raised | cancelled | "
"to a JSON value to return it; print() output comes back as output. Reply: {status: finished | raised | cancelled | "
"timed_out, result, output, traceback?, message?}; a script that raised changed what it changed before. Python runs "
"with OrcaSlicer's full access to the computer, so a person must allow Python scripts in Preferences first. Recorded "
"by export_script as one step with its code, which a replay runs again against the project as it is then.",