app-server-schema

This commit is contained in:
Roy Han
2026-03-11 16:00:56 -07:00
parent 6204ce60d0
commit 95027497d4
33 changed files with 3499 additions and 12 deletions

View File

@@ -256,6 +256,21 @@
],
"type": "object"
},
"ItemMetadata": {
"properties": {
"user_message_type": {
"anyOf": [
{
"$ref": "#/definitions/UserMessageType"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"McpToolCallError": {
"properties": {
"message": {
@@ -410,6 +425,16 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/ItemMetadata"
},
{
"type": "null"
}
]
},
"type": {
"enum": [
"userMessage"
@@ -431,6 +456,16 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/ItemMetadata"
},
{
"type": "null"
}
]
},
"phase": {
"anyOf": [
{
@@ -467,6 +502,16 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/ItemMetadata"
},
{
"type": "null"
}
]
},
"text": {
"type": "string"
},
@@ -498,6 +543,16 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/ItemMetadata"
},
{
"type": "null"
}
]
},
"summary": {
"default": [],
"items": {
@@ -563,6 +618,16 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/ItemMetadata"
},
{
"type": "null"
}
]
},
"processId": {
"description": "Identifier for the underlying PTY process (when available).",
"type": [
@@ -603,6 +668,16 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/ItemMetadata"
},
{
"type": "null"
}
]
},
"status": {
"$ref": "#/definitions/PatchApplyStatus"
},
@@ -647,6 +722,16 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/ItemMetadata"
},
{
"type": "null"
}
]
},
"result": {
"anyOf": [
{
@@ -708,6 +793,16 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/ItemMetadata"
},
{
"type": "null"
}
]
},
"status": {
"$ref": "#/definitions/DynamicToolCallStatus"
},
@@ -751,6 +846,16 @@
"description": "Unique identifier for this collab tool call.",
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/ItemMetadata"
},
{
"type": "null"
}
]
},
"prompt": {
"description": "Prompt text sent as part of the collab tool call, when available.",
"type": [
@@ -820,6 +925,16 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/ItemMetadata"
},
{
"type": "null"
}
]
},
"query": {
"type": "string"
},
@@ -844,6 +959,16 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/ItemMetadata"
},
{
"type": "null"
}
]
},
"path": {
"type": "string"
},
@@ -868,6 +993,16 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/ItemMetadata"
},
{
"type": "null"
}
]
},
"result": {
"type": "string"
},
@@ -902,6 +1037,16 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/ItemMetadata"
},
{
"type": "null"
}
]
},
"review": {
"type": "string"
},
@@ -926,6 +1071,16 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/ItemMetadata"
},
{
"type": "null"
}
]
},
"review": {
"type": "string"
},
@@ -950,6 +1105,16 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/ItemMetadata"
},
{
"type": "null"
}
]
},
"type": {
"enum": [
"contextCompaction"
@@ -1087,6 +1252,18 @@
}
]
},
"UserMessageType": {
"enum": [
"prompt",
"prompt_steering",
"prompt_queued",
"prompt_with_ide_context",
"agents_md_default",
"agents_md_custom",
"environment_context"
],
"type": "string"
},
"WebSearchAction": {
"oneOf": [
{