init_project
Initializes a workspace for swagger-mcp by creating .swagger-mcp/config.json and cache directory, enabling offline Swagger/OpenAPI search.
Instructions
Create .swagger-mcp/config.json and cache directory in the requested workspace.
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": {
"workspace": "<workspace>"
},
"name": "init_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace | Yes | Absolute path to the business project that owns .swagger-mcp. |