create_alias
Create an alias on a Multipass instance to execute a command, with optional automatic mapping of the host working directory.
Instructions
Create a Multipass alias to be executed on a given Multipass instance.
Args: instance: Name of the Multipass instance. command: Command to execute. alias_name: Optional name for the alias. Defaults to command name. map_working_directory: If True, automatically map host execution path to mounted path.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"instance": "<instance>",
"command": "<command>"
},
"name": "create_alias"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instance | Yes | ||
| command | Yes | ||
| alias_name | No | ||
| map_working_directory | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |