Can AI Agent learn from API Documentation?

Hi Guys,

I’m rather new to the AI Agent world, spent a lot of time reading, and now I got my own local server and I’m playing with n8n and the AI Agent node type.

I’m curious, I would like to integrate with Trello as we use this at home to track tasks.

When I try to add a tool to my AI Agent, it looks like I have to specify which action will the tool do. Does that mean I need to manually add all the possible actions if I want the AI Agent to respond to a prompt “Hey, can you please add a meeting for me, tomorrow at 1pm, with XYX”?

Or is there a way to link the AI Agent to the Trello’s API Documentation (I’m thinking Swagger type of documentation), so the AI Agent could sort of learn/discover the posibilities by himself?

I’m open to any suggestions :slight_smile:

Cheers

Hello @Martin_Bittner

Yes, that’s how it’s supposed to work, you need to define the tools, sub-agents, etc..

That’s exactly the idea behind the Model Context Protocol (MCP)..
If there’s a Trello MCP available, you can plug it into your AI Agent as a tool, it will handle the API interactions automatically.

1 Like

Thank you, I will look into MCP as I believe that’s what I’m looking for :slight_smile:

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.