initialize_session
Start a session with an OpenAPI specification from a file or URL to enable AI-driven API exploration and integration.
Instructions
Initialize a new session with an OpenAPI specification file or URL
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": {
"source": "<source>"
},
"name": "initialize_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | Path to the OpenAPI JSON or YAML file, or URL to fetch the specification from | |
| outputFormat | No | Output format for responses (default: compact). Can be changed later with set_output_format. |