Files
codex/codex-rs/app-server-protocol/schema/json/v2/McpServerStartupUpdatedNotification.json
2026-02-23 08:31:57 -08:00

90 lines
1.8 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"McpServerStartupStatus": {
"oneOf": [
{
"properties": {
"state": {
"enum": [
"starting"
],
"type": "string"
}
},
"required": [
"state"
],
"title": "StartingMcpServerStartupStatus",
"type": "object"
},
{
"properties": {
"state": {
"enum": [
"ready"
],
"type": "string"
}
},
"required": [
"state"
],
"title": "ReadyMcpServerStartupStatus",
"type": "object"
},
{
"properties": {
"error": {
"type": "string"
},
"state": {
"enum": [
"failed"
],
"type": "string"
}
},
"required": [
"error",
"state"
],
"type": "object"
},
{
"properties": {
"state": {
"enum": [
"cancelled"
],
"type": "string"
}
},
"required": [
"state"
],
"title": "CancelledMcpServerStartupStatus",
"type": "object"
}
]
}
},
"properties": {
"server": {
"type": "string"
},
"status": {
"$ref": "#/definitions/McpServerStartupStatus"
},
"threadId": {
"type": "string"
}
},
"required": [
"server",
"status",
"threadId"
],
"title": "McpServerStartupUpdatedNotification",
"type": "object"
}