query_resource
Query GNS3 lab resources by URI to retrieve project, node, link, or VM data as tables or JSON.
Instructions
Universal resource query tool - access any GNS3 MCP resource.
See tool implementation docstring for comprehensive URI pattern documentation.
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": {
"uri": "<uri>"
},
"name": "query_resource"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uri | Yes | Resource URI to query (see tool description for supported patterns) | |
| format | No | Output format: 'table' (default, human-readable) or 'json' (structured) | table |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |