---
name: "my_analysis_tool"
version: "1.0.0"
type: "tool"
category: "analysis"
description: "Short description shown in the UI badge tooltip"
parameters:
- name: topic
type: string
required: true
description: "Topic to analyze"
- name: limit
type: integer
default: 50
description: "Maximum articles to analyze"
triggers:
- patterns: ["keyword1", "keyword2", "regex.*pattern"]
priority: high
- patterns: ["secondary", "triggers"]
priority: medium
actions:
- vector_search
- db_search
prompt: |
You are an expert analyst. Analyze {article_count} articles about "{topic}".
ARTICLES:
{articles}
Provide your analysis with:
## Section 1
- Point 1
- Point 2
## Section 2
Content here...
IMPORTANT: Cite sources using markdown links: [Article Title](URL)
---
# Tool Documentation
This section (after the closing ---) is markdown documentation.
It's not used by the system but helps developers understand the tool.
parameters:
- name: topic # Parameter name
type: string # Type: string, integer, float, boolean, array
required: true # Is this required?
default: "AI" # Default value if not provided
description: "..." # Help text
enum: ["opt1", "opt2"] # Optional: restrict to specific values
prompt: |
CRITICAL: All citations must include clickable markdown links: [Article Title](URL)
Every article in the data has a URL field - USE IT!
WRONG: "(Reuters, Jan 15)" - No URL!
CORRECT: "([Article Title](https://example.com), Reuters, Jan 15)"
prompt: |
### Distribution Table
| Category | Count | Percentage |
|----------|-------|------------|
| Category1 | X | X% |
| Category2 | X | X% |