pf_call_endpoint
Call any PacketFabric API endpoint by operation_id.
Reads run immediately. Writes (create/modify/delete — may create billable services)
are only possible when the server was started with PF_ALLOW_WRITES=true, and return a
dry-run preview unless confirm=true. Always show the user the preview and get explicit
approval before re-calling with confirm=true.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | JSON request body for POST/PUT/PATCH. | |
| fields | No | Only return these keys from each item (dot paths allowed, e.g. 'interfaces'). Omit for all. | |
| params | No | Path and query parameters by name, e.g. {'port_circuit_id': 'PF-AP-LAX1-1234', 'since': '1 day ago'}. Lists are sent as repeated query params. | |
| confirm | No | Required true to actually execute a write. Without it, writes return a preview only. | |
| max_items | No | Cap on list items returned. | |
| operation_id | Yes | From pf_search_endpoints. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |