get_portal_states
Lists NetBox-defined portal states as STATEKEY/STATENAME pairs, the vocabulary for get_portal_statuses and its STATEKEY filter. Optionally returns states across all partitions.
Instructions
Lists the portal states the NetBox system defines (wraps NBAPI GetPortalStates). Returns STATEKEY/STATENAME pairs — the vocabulary get_portal_statuses reports against, and the values its STATEKEY filter accepts.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_portal_states"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| PORTALSTATES | No | Optional. "TRUE" returns portal states across all partitions; omitted, the controller returns states for the default or currently switched partition. |