Namespace Nexus\Mcp\Schema\Tool\ToolSchema

Classes
ArrayType

The array type is used for validating JSON indexed arrays. This schema follows JSON Schema Draft 2020-12.

BooleanType

The boolean type is used to validate boolean values (true or false).

IntegerType

The integer type is a subtype of number type used for validating only integer numbers.

NullType

The null type is used to validate the null value.

NumberType

The number type is used for validating integer and float values.

ObjectType

The object type is used for validating key-value maps (objects).

StringType

The string type is used for validating strings/texts containing Unicode characters.

ToolSchema

A JSON schema object defining the expected parameters for the tool or the structure of the tool's output returned in the structuredContent field of a CallToolResult.