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

@@ -393,6 +393,21 @@
},
"type": "object"
},
"ItemMetadata": {
"properties": {
"user_message_type": {
"anyOf": [
{
"$ref": "#/definitions/UserMessageType"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"McpToolCallError": {
"properties": {
"message": {
@@ -762,6 +777,16 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/ItemMetadata"
},
{
"type": "null"
}
]
},
"type": {
"enum": [
"userMessage"
@@ -783,6 +808,16 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/ItemMetadata"
},
{
"type": "null"
}
]
},
"phase": {
"anyOf": [
{
@@ -819,6 +854,16 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/ItemMetadata"
},
{
"type": "null"
}
]
},
"text": {
"type": "string"
},
@@ -850,6 +895,16 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/ItemMetadata"
},
{
"type": "null"
}
]
},
"summary": {
"default": [],
"items": {
@@ -915,6 +970,16 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/ItemMetadata"
},
{
"type": "null"
}
]
},
"processId": {
"description": "Identifier for the underlying PTY process (when available).",
"type": [
@@ -955,6 +1020,16 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/ItemMetadata"
},
{
"type": "null"
}
]
},
"status": {
"$ref": "#/definitions/PatchApplyStatus"
},
@@ -999,6 +1074,16 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/ItemMetadata"
},
{
"type": "null"
}
]
},
"result": {
"anyOf": [
{
@@ -1060,6 +1145,16 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/ItemMetadata"
},
{
"type": "null"
}
]
},
"status": {
"$ref": "#/definitions/DynamicToolCallStatus"
},
@@ -1103,6 +1198,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": [
@@ -1172,6 +1277,16 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/ItemMetadata"
},
{
"type": "null"
}
]
},
"query": {
"type": "string"
},
@@ -1196,6 +1311,16 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/ItemMetadata"
},
{
"type": "null"
}
]
},
"path": {
"type": "string"
},
@@ -1220,6 +1345,16 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/ItemMetadata"
},
{
"type": "null"
}
]
},
"result": {
"type": "string"
},
@@ -1254,6 +1389,16 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/ItemMetadata"
},
{
"type": "null"
}
]
},
"review": {
"type": "string"
},
@@ -1278,6 +1423,16 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/ItemMetadata"
},
{
"type": "null"
}
]
},
"review": {
"type": "string"
},
@@ -1302,6 +1457,16 @@
"id": {
"type": "string"
},
"metadata": {
"anyOf": [
{
"$ref": "#/definitions/ItemMetadata"
},
{
"type": "null"
}
]
},
"type": {
"enum": [
"contextCompaction"
@@ -1585,6 +1750,18 @@
}
]
},
"UserMessageType": {
"enum": [
"prompt",
"prompt_steering",
"prompt_queued",
"prompt_with_ide_context",
"agents_md_default",
"agents_md_custom",
"environment_context"
],
"type": "string"
},
"WebSearchAction": {
"oneOf": [
{