shell_env_set
Sets environment variables in the persistent PowerShell session so all later shell commands can use them.
Instructions
在持久化会话中设置环境变量。后续所有 shell_exec 都能读到。
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": {
"name": "<name>",
"value": "<value>"
},
"name": "shell_env_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | 环境变量名 | |
| value | Yes | 变量值 |