toJsonSchema

Renders this Schema as a JSON Schema JsonObject, the same shape used in prompt tool descriptions. Exposed so an adapter can hand a tool's parameter schema to another framework rather than forking this conversion.