org.llm4s.toolapi.RawJsonSchema
See theRawJsonSchema companion object
@Stable
final case class RawJsonSchema extends SchemaDefinition[Value]
A JSON Schema written out as JSON, for what the other cases cannot express: $ref, oneOf, pattern, a free-form object, a schema received from elsewhere (an MCP server's).
It is emitted as it was written, whatever strict is: nothing in it is made required or nullable. Whether a provider accepts it, and whether an agent's argument validator supports its keywords, is for the caller to know.
Value parameters
- json
-
The JSON Schema, an object
Attributes
- Companion
- object
- Source
- SchemaDefinition.scala
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SchemaDefinition[Value]class Objecttrait Matchableclass Any
Members list
In this article
