opentool_server library

Classes

CliArguments
CliTool
DataType
Event
EventType
FunctionCall
FunctionModel
HostType
Info
JsonRPCHttpRequestBody
JsonRPCHttpResponseBody
JsonRPCHttpResponseBodyError
OpenTool
OpenToolJsonLoader
OpenToolServer
Parameter
Return
Schema
A JSON Schema node parsed with the declared dialect (2020-12 by default).
SchemaResolver
Compiles JSON Schema documents and resolves OpenTool's legacy schema names.
SchemasSingleton
Legacy global schema registry. Prefer OpenTool.fromJson or SchemaResolver so references stay scoped to their document.
SchemaType
SchemaValidationResult
Result of validating one JSON value against a Schema.
Server
ServerConfig
StatusInfo
StatusType
ToolReturn
Version

Typedefs

SchemaReferenceResolver = Object? Function(String uri)

Exceptions / Errors

FunctionNotSupportedException
InvalidArgumentsException
JsonParserException
ToolBreakException
When client catch ToolBreakException. The client should be stopped calling.