Technology
Tool use (function calling)
Tool use (a.k.a. function calling) is the LLM's ability to invoke external functions during generation — e.g. 'search the web', 'query the database', 'send an email'. Critical for AI agents. Claude and GPT-4 both support structured tool use with JSON schemas.
More detail
Each Aiprosol AI agent has a set of tools scoped to its role. The COO agent can read agent_log and tasks. The CCO agent can read leads + write to outreach_drafts. The DA agent can read every table. Tool definitions include name, description, JSON-schema parameters, and a return-shape contract. The LLM picks which tool to call, the runtime executes it, and the result feeds back into the next generation step.
