trustgraph/trustgraph_configurator/templates/1.8/runtime-config/tools.jsonnet
elpresidank 74cc8a4685 Squashed 'ai-context/trustgraph-templates/' content from commit 42a5fd1b
git-subtree-dir: ai-context/trustgraph-templates
git-subtree-split: 42a5fd1b678f32be378062e30451e2052ccb95dd
2026-04-05 21:09:49 -05:00

52 lines
No EOL
1.7 KiB
Jsonnet

// Tools Configuration Module
// Defines all available tools that can be used by agents and flows
// Each tool specifies its interface, arguments, and behavior
[
// Knowledge extraction tool - extracts structured knowledge from text
{
id: "knowledge-extraction",
name: "Knowledge extraction",
description: "Takes a chunk of text and extracts knowledge in definition and relationship formats. The input is a text chunk",
type: "prompt",
template: "agent-kg-extract",
arguments: [
{
"name": "text",
"type": "string",
"description": "The text chunk",
}
],
},
// Knowledge query tool - queries the knowledge base
{
id: "knowledge-query",
name: "Knowledge query",
description: "This tool queries a knowledge base that holds information about domain-specific information. The question should be a natural language question.",
type: "knowledge-query",
collection: "default",
arguments: [
{
name: "question",
type: "string",
description: "A simple natural language question.",
}
]
},
// LLM completion tool - general purpose text completion
{
id: "llm-completion",
name: "LLM text completion",
type: "text-completion",
description: "This tool queries an LLM for non-domain-specific information. The question should be a natural language question.",
arguments: [
{
name: "question",
type: "string",
description: "The question which should be asked of the LLM.",
}
]
}
]