nautobot_call_nautobot
Execute REST CRUD operations against any Nautobot API endpoint, including core and plugin APIs, to manage network automation data. Use the API catalog first to discover endpoint paths.
Instructions
Execute a REST CRUD operation against any Nautobot API endpoint.
Provides direct access to any Nautobot REST endpoint — core API and plugin endpoints (CMS, Golden Config, etc.). Supports full CRUD. Use nautobot_api_catalog first to discover endpoint paths.
Args:
method: HTTP method — GET, POST, PATCH, PUT, DELETE.
endpoint: API path (e.g., '/api/dcim/devices/', '/api/plugins/cms/bgp-groups/').
Can be partial path; bridge performs fuzzy matching if needed.
params: Query parameters for filtering (GET requests). Optional.
Example: {"device": "core-rtr-01"}
Note: prefer top-level limit and offset args over putting them in params.
body: Request body for write operations (POST, PATCH, PUT). Optional.
Must match Nautobot's expected schema for the endpoint.
limit: Server-side max results for GET list operations (default 50, hard cap 200).
offset: Skip N results for pagination (default 0). Requires limit > 0.
skip_count: If True, skip count() calls where applicable (default False).
Returns: Dict with 'count' (returned record count), 'results' (list of records), 'endpoint', and 'method'.
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": {
"method": "<method>",
"endpoint": "<endpoint>"
},
"name": "nautobot_call_nautobot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | ||
| limit | No | ||
| method | Yes | ||
| offset | No | ||
| params | No | ||
| endpoint | Yes | ||
| skip_count | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||