Installation
Install the Worlds AI SDK from JSR:Usage
The tools are designed to work with the Vercel AI SDK.Tools
ThecreateTools function returns a full toolset for use with LLM frameworks.
Individual tools
If you require granular control, you can import and initialize tools individually. Each tool factory requires the same configuration options.Tool reference
| Tool | Description |
|---|---|
discoverSchema | Explore the ontology and schema of a specific world. |
executeSparql | Direct execution of SPARQL queries against a world. |
searchEntities | Vector-based semantic search for entities within a world. |
generateIri | Utility for generating valid IRIs for new entities. |
disambiguateEntities | Utility for mapping natural language entities to existing IRIs. |
validateRdf | Utility for validating generated RDF against a world. |