set_output_folder
Redirect generated scripts and results to a chosen existing folder instead of the adapter's default output location. Relative paths then resolve there, with optional per-application subfolders.
Instructions
Write all generated scripts and results into folder, normally the folder the user gave or granted for the task, instead of the adapter's default outputs folder. Call it first in a task that has a folder. Relative paths in later tool arguments are resolved inside it. Each application writes into its own subfolder (e.g. D:\Projects\PCB\orcad) unless per_application_subfolders is false. An empty folder goes back to the default.
The folder must already exist on a local disk. Drive roots, the home folder itself, hidden, system, program, application-data and network folders are refused; MCP_ADAPTER_OUTPUT_ROOTS in .env can restrict it further. The setting applies to this server process (all chats of this client) until changed or the server restarts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder | No | ||
| per_application_subfolders | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||