api_config
Get, set, update base URLs and headers, add endpoints, and search or list configured APIs to manage API configurations.
Instructions
API configuration management tool for managing API settings, endpoints, and configurations. Examples: get config, set baseUrl to "https://api.example.com", updateHeaders with {"Authorization":"Bearer token"}, search APIs by keyword, list all configured APIs
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Action to perform: "get" to retrieve config, "set" to update config, "updateBaseUrl" to update base URL, "updateHeaders" to update headers, "deleteHeader" to delete header, "addApi" to add API endpoint, "search" to search APIs, "list" to list all APIs | |
| config | No | API configuration (required for "set" action) | |
| baseUrl | No | New base URL (required for "updateBaseUrl" action) | |
| headers | No | New headers to add or update (required for "updateHeaders" action) | |
| headerName | No | Name of header to delete (required for "deleteHeader" action) | |
| api | No | API configuration (required for "addApi" action) | |
| keyword | No | Search keyword (required for "search" action) |