add_service_object
Creates a TCP or UDP service object with a port or port range in the candidate configuration. Commit the staged config to activate it.
Instructions
[MODIFIES CONFIG] Creates a TCP or UDP service object with a port or port range. Staged in candidate config — requires 'commit' to activate.
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>",
"protocol": "<protocol>",
"port": "<port>"
},
"name": "add_service_object"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Service object name | |
| port | Yes | Port number or range (e.g. '443', '8000-8080') | |
| firewall | No | Target firewall name (from firewalls.json). Required when multiple firewalls are configured; optional otherwise. | |
| protocol | Yes | Protocol | |
| description | No | Optional description |