public static fromDefinitions(definitions as IList<Object>) as ToolRegistry
Creates a declarative registry for a remote inference transport. Definitions are real provider function schemas, structurally validated and independently copied. No implementation/binding is created: execute() always throws IllegalStateException on this explicitly nonexecutable form.
| Parameter | Description |
|---|---|
definitions | Up to 128 JSON-compatible function definitions. |
Registry for LLMRequest.tools, with isDeclarative=true.
remote = ToolRegistry.fromDefinitions(JSON.parseList(wireTools))