---
source: tests/test_with_python.rs
expression: responses
---
[
  {
    "meta": null,
    "nextCursor": null,
    "prompts": []
  },
  {
    "meta": null,
    "nextCursor": null,
    "resources": []
  },
  {
    "meta": null,
    "nextCursor": null,
    "tools": [
      {
        "name": "sub",
        "title": null,
        "description": "Calculate the sub of two numbers",
        "inputSchema": {
          "$schema": "http://json-schema.org/draft-07/schema#",
          "title": "SubRequest",
          "description": "Request structure for the subtraction operation.\n\nSimilar to SumRequest but for subtraction, showing consistent\nparameter definition patterns.",
          "type": "object",
          "properties": {
            "a": {
              "description": "the left hand side number",
              "type": "integer",
              "format": "int32"
            },
            "b": {
              "description": "the right hand side number",
              "type": "integer",
              "format": "int32"
            }
          },
          "required": [
            "a",
            "b"
          ]
        },
        "outputSchema": {
          "$schema": "http://json-schema.org/draft-07/schema#",
          "title": "CalculatorResult",
          "type": "object",
          "properties": {
            "value": {
              "description": "the result of the operation",
              "type": "integer",
              "format": "int32"
            }
          },
          "required": [
            "value"
          ]
        },
        "annotations": null,
        "meta": null
      },
      {
        "name": "sum",
        "title": null,
        "description": "Calculate the sum of two numbers",
        "inputSchema": {
          "$schema": "http://json-schema.org/draft-07/schema#",
          "title": "SumRequest",
          "description": "Request structure for the sum operation.\n\nDemonstrates how to define typed parameters for MCP tools\nwith JSON schema generation support.",
          "type": "object",
          "properties": {
            "a": {
              "description": "the left hand side number",
              "type": "integer",
              "format": "int32"
            },
            "b": {
              "description": "The right hand side number to add",
              "type": "integer",
              "format": "int32"
            }
          },
          "required": [
            "a",
            "b"
          ]
        },
        "outputSchema": {
          "$schema": "http://json-schema.org/draft-07/schema#",
          "title": "CalculatorResult",
          "type": "object",
          "properties": {
            "value": {
              "description": "the result of the operation",
              "type": "integer",
              "format": "int32"
            }
          },
          "required": [
            "value"
          ]
        },
        "annotations": null,
        "meta": null
      }
    ]
  }
]
