get_resource
Retrieve a single configuration resource from Pexip Infinity by providing the resource type and its integer ID or name. Names are resolved automatically, eliminating the need to list resources first.
Instructions
Get a single configuration resource by integer id or by name.
Args: resource: API resource name (see list_resources for the full list). id: Integer id, numeric string, or the resource's name — names are resolved automatically, so there is no need to list first.
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": {
"resource": "<resource>",
"id": "<id>"
},
"name": "get_resource"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| resource | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||