API

/web_api/mcp_call/check_field_values

/web_api/mcp_call/check_field_values ​

This page is built from the JSON Schema snapshot in the documentation repository. The snapshot is updated by a separate command from the main app catalog and is not rewritten when the site is built.

Request ​

main-app://schemas/api_mcp_testing/mcp_call/check_field_values.request.json

REQUEST /web_api/mcp_call/check_field_values

NameTypeRequiredConstraint
mcp_snapshot_tool_idintegerYesminimum 1
field_valuesarray of objectYes-

Other top-level fields are not allowed.

field_values[] ​

NameTypeRequiredConstraint
mcp_snapshot_tool_field_idintegerYesminimum 1
value_positionintegerNominimum 0
value_kindenumYes"STRING", "NUMBER", "BOOLEAN", "NULL", "EMPTY_ARRAY", "EMPTY_OBJECT"
value_stringstringNo-
value_number_textstringNo-
value_booleanenumNo0, 1

Response ​

main-app://schemas/api_mcp_testing/mcp_call/check_field_values.response.json

RESPONSE /web_api/mcp_call/check_field_values

NameTypeRequiredConstraint
api_codeintegerYesconst 200
api_resultbooleanYesconst true
emptybooleanNo-

Other top-level fields are not allowed.

Source schema ​

The files below are copied from the snapshot unchanged. A $ref fragment is a separate block. The schemas are not merged.

Request: main-app://schemas/api_mcp_testing/mcp_call/check_field_values.request.json
json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "main-app://schemas/api_mcp_testing/mcp_call/check_field_values.request.json",
  "title": "REQUEST /web_api/mcp_call/check_field_values",
  "type": "object",
  "additionalProperties": false,
  "required": ["mcp_snapshot_tool_id", "field_values"],
  "properties": {
    "mcp_snapshot_tool_id": { "type": "integer", "minimum": 1 },
    "field_values": {
      "type": "array",
      "items": { "$ref": "main-app://schemas/api_mcp_testing/mcp_call/field-value.json" }
    }
  }
}
Fragment: main-app://schemas/api_mcp_testing/mcp_call/field-value.json
json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "main-app://schemas/api_mcp_testing/mcp_call/field-value.json",
  "title": "One mcp_call field value",
  "type": "object",
  "additionalProperties": false,
  "required": ["mcp_snapshot_tool_field_id", "value_kind"],
  "properties": {
    "mcp_snapshot_tool_field_id": { "type": "integer", "minimum": 1 },
    "value_position": { "type": "integer", "minimum": 0 },
    "value_kind": {
      "type": "string",
      "enum": ["STRING", "NUMBER", "BOOLEAN", "NULL", "EMPTY_ARRAY", "EMPTY_OBJECT"]
    },
    "value_string": { "type": "string" },
    "value_number_text": { "type": "string" },
    "value_boolean": { "type": "integer", "enum": [0, 1] }
  }
}
Response: main-app://schemas/api_mcp_testing/mcp_call/check_field_values.response.json
json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "main-app://schemas/api_mcp_testing/mcp_call/check_field_values.response.json",
  "title": "RESPONSE /web_api/mcp_call/check_field_values",
  "allOf": [
    { "$ref": "main-app://schemas/_shared/envelope-success.json" },
    {
      "type": "object",
      "properties": {
        "api_result": { "const": true }
      }
    }
  ]
}
Fragment: main-app://schemas/_shared/envelope-success.json
json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "main-app://schemas/_shared/envelope-success.json",
  "title": "Canonical success envelope",
  "type": "object",
  "required": ["api_code", "api_result"],
  "properties": {
    "api_code": { "const": 200 },
    "api_result": true,
    "empty": { "type": "boolean" }
  },
  "additionalProperties": false
}

Version 1.0.0 · Last updated 2026-10-07

Did this page help?