|
377 | 377 | }, |
378 | 378 | "url": { |
379 | 379 | "type": "string", |
380 | | - "description": "URL template for the streamable-http transport. Variables in {curly_braces} reference variable names from the 'variables' array. If variables are not provided, {curly_braces} should be treated as literal text. After variable substitution, this should produce a valid URI.", |
| 380 | + "description": "URL template for the streamable-http transport. Variables in {curly_braces} reference variable names from the 'variables' object. If variables are not provided, {curly_braces} should be treated as literal text. After variable substitution, this should produce a valid URI.", |
381 | 381 | "example": "https://api.example.com/mcp" |
382 | 382 | }, |
383 | 383 | "headers": { |
|
388 | 388 | } |
389 | 389 | }, |
390 | 390 | "variables": { |
391 | | - "type": "array", |
392 | | - "description": "Configuration variables that can be referenced in URL template {curly_braces} via their name property", |
393 | | - "items": { |
394 | | - "$ref": "#/definitions/KeyValueInput" |
| 391 | + "type": "object", |
| 392 | + "description": "Configuration variables that can be referenced in URL template {curly_braces}. The key is the variable name, and the value defines the variable properties.", |
| 393 | + "additionalProperties": { |
| 394 | + "$ref": "#/definitions/Input" |
395 | 395 | } |
396 | 396 | } |
397 | 397 | } |
|
414 | 414 | "url": { |
415 | 415 | "type": "string", |
416 | 416 | "format": "uri", |
417 | | - "description": "Server-Sent Events endpoint URL template. Variables in {curly_braces} reference variable names from the 'variables' array. If variables are not provided, {curly_braces} should be treated as literal text. After variable substitution, this should produce a valid URI.", |
| 417 | + "description": "Server-Sent Events endpoint URL template. Variables in {curly_braces} reference variable names from the 'variables' object. If variables are not provided, {curly_braces} should be treated as literal text. After variable substitution, this should produce a valid URI.", |
418 | 418 | "example": "https://mcp-fs.example.com/sse" |
419 | 419 | }, |
420 | 420 | "headers": { |
|
425 | 425 | } |
426 | 426 | }, |
427 | 427 | "variables": { |
428 | | - "type": "array", |
429 | | - "description": "Configuration variables that can be referenced in URL template {curly_braces} via their name property", |
430 | | - "items": { |
431 | | - "$ref": "#/definitions/KeyValueInput" |
| 428 | + "type": "object", |
| 429 | + "description": "Configuration variables that can be referenced in URL template {curly_braces}. The key is the variable name, and the value defines the variable properties.", |
| 430 | + "additionalProperties": { |
| 431 | + "$ref": "#/definitions/Input" |
432 | 432 | } |
433 | 433 | } |
434 | 434 | } |
|
0 commit comments