opentool_client library
Classes
- Client
- DataType
- Event
- EventType
- FunctionCall
- FunctionModel
- HostType
- Info
- JsonRPCHttpRequestBody
- JsonRPCHttpResponseBody
- JsonRPCHttpResponseBodyError
- OpenTool
- OpenToolClient
- OpenToolJsonLoader
- 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.
- ServerConfig
- StatusInfo
- StatusType
- Tool
- ToolReturn
- Version
Constants
- CLI_ARGUMENT_APIKEYS → const String
- CLI_ARGUMENT_HOST → const String
- CLI_ARGUMENT_PORT → const String
- CLI_ARGUMENT_TAG → const String
- DEFAULT_PREFIX → const String
- DEFAULT_TOOL_HOST → const String
- DEFAULT_TOOL_PORT → const int
- DEFAULT_TOOL_TAG → const String
- JSONRPC_VERSION → const String
Typedefs
- SchemaReferenceResolver = Object? Function(String uri)
Exceptions / Errors
- ErrorNullException
- FunctionNotSupportedException
- InvalidArgumentsException
- JsonParserException
- OpenToolServerCallException
- OpenToolServerNoAccessException
- ResponseNullException
- ToolBreakException
-
When client catch
ToolBreakException. The client should be stopped calling.