set_workspace
Define the workspace directory for network topology files, validating it under your home directory and creating it automatically if it does not exist.
Instructions
Set the active workspace directory for this session.
Validates that the path is under the user's home directory (defence
against arbitrary filesystem access), creates the directory if it
does not exist, and confirms it is writable. Once set, subsequent
tool calls operate against this directory until the server restarts
or set_workspace is called again.
Args:
path: Absolute path to the desired workspace. May use '~' for
home expansion. Must resolve to a location under
Path.home().
Returns:
Confirmation message including the resolved absolute path,
or an error if validation failed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |