list_terraform_providers
Retrieve cached Terraform providers with metadata to manage Infrastructure-as-Code resources. Filter results using name patterns for targeted access.
Instructions
List all cached Terraform providers with basic metadata
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_terraform_providers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filter_criteria | No | Optional filtering criteria |
Implementation Reference
- Schema definition for the list_terraform_providers tool, specifying input parameters including optional filter_criteria with name_pattern for provider names.
"list_terraform_providers": { "type": "object", "description": "List all cached Terraform providers with basic metadata", "required": [], "properties": { "filter_criteria": { "type": "object", "description": "Optional filtering criteria", "properties": { "name_pattern": { "type": "string", "description": "Regex pattern to filter provider names", } }, } }, }, - src/iac_memory_mcp_server/tools/__init__.py:46-55 (registration)Registration of the list_tools handler which includes 'list_terraform_providers' via TOOL_SCHEMAS from db/tools.py.
@server.call_tool() async def call_tool( name: str, arguments: Dict[str, Any], ctx: RequestContext | None = None ): return await handle_call_tool(name, arguments, ctx) @server.list_tools() async def list_tools(ctx: RequestContext = None): return await handle_list_tools(ctx)