set_pvid
Set a switch port's PVID, with dry-run preview enabled by default; protected ports 1 and 4 are rejected.
Instructions
Set a port's PVID. Protected ports (1, 4) are refused. dry_run=true (default) previews without applying.
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": {
"port": "<port>",
"pvid": "<pvid>"
},
"name": "set_pvid"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | Yes | ||
| pvid | Yes | ||
| dry_run | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |