/ agent-scan / core / agent_adapter / connectivity_schema.xml
connectivity_schema.xml
 1  <?xml version="1.0" encoding="UTF-8"?>
 2  <tools>
 3  <tool name="connectivity">
 4    <description>
 5      Test connectivity to an AI provider.
 6      
 7      This tool loads provider configuration from a YAML/JSON config file,
 8      sends a simple test prompt ("Only return 1") to verify the connection,
 9      and returns whether the provider is reachable and responding correctly.
10      
11      Use this tool to verify API credentials and network connectivity
12      before running actual dialogue requests.
13      
14      Supports various AI providers including:
15      - OpenAI and OpenAI-compatible APIs
16      - Anthropic Claude
17      - Google AI Studio / Vertex AI
18      - Azure OpenAI
19      - Mistral AI, Groq, Ollama
20      - Dify, Coze, and more
21    </description>
22    <parameters>
23      <parameter name="config_file" type="string" required="true">
24        Path to the provider configuration file (YAML or JSON format).
25        The config file should contain a 'providers' or 'targets' array with provider settings.
26      </parameter>
27    </parameters>
28    <returns>
29      <field name="success" type="boolean">Whether the connectivity test passed (True if provider responded successfully)</field>
30    </returns>
31  </tool>
32  </tools>