bx-ai-tools

Create and register reusable AI tools for BoxLang agents with aiTool().

Updated Apr 10, 2026
One-click install
npx skills add https://github.com/ortus-boxlang/skills --skill bx-ai-tools
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bx-ai-tools
Source: https://github.com/ortus-boxlang/skills/tree/main/boxlang-modules/bx-ai/bx-ai-tools
Command: npx skills add https://github.com/ortus-boxlang/skills --skill bx-ai-tools

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Creates a standardized framework for building, describing, and reusing AI tools to empower BoxLang agents to invoke functionality via function calling.

Core Features & Use Cases

  • Define tools with aiTool(name, description, handler, params) to capture capability and integration points.
  • Describe each parameter with fluent describe*() methods to provide precise prompts and schemas.
  • Share tools across agents with aiToolRegistry() and attach registries to aiChat/aiAgent workflows.
  • Use aiGlobalSkills() to register application-wide skills accessible by all agents.

Quick Start

Create your first tool with aiTool(name, description, handler, params) and register it in a registry attached to an agent.

Frequently Asked Questions about bx-ai-tools

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create AI tools for function calling in BoxLang agents?

You define AI tools for function calling using the aiTool(name, description, handler, params) pattern, which captures capabilities and integration points for BoxLang agents to invoke during reasoning and task execution.

What is an AI tool registry and how does it work with aiChat workflows?

An AI tool registry, created via aiToolRegistry(), is a shared repository that attaches to aiChat and aiAgent workflows to enable seamless tool invocation and function calling across multiple agents.

How do I describe function calling parameters for AI agents?

Describe function calling parameters using fluent describe*() methods, which provide precise prompts and schemas to ensure AI agents understand the expected inputs for tool invocation.

Can I register application-wide skills accessible by all BoxLang agents?

Yes, you register application-wide skills accessible by all BoxLang agents using the aiGlobalSkills() function, making them available across your AI workflows without individual agent configuration.

Does this AI tool framework require any external dependencies?

No, this AI tool framework requires no external dependencies, providing a standardized structure for building, describing, and reusing AI tools entirely within the BoxLang ecosystem.

What is the best way to share AI tools across multiple agents?

The best way to share AI tools across multiple agents is by using aiToolRegistry() to pool tools and attaching that registry to your aiChat or aiAgent workflows for seamless reuse.