Tools and MCP
Tools are how agents act on your workspace: query data, edit workflows, search the Knowledge Graph, call external systems, and complete governed procedures. Fontana keeps one catalog of built-in abilities and Model Context Protocol (MCP) connections. You grant abilities and connections per agent in AI → Agents, so the model receives only the tools you chose, and every call is recorded for review.
Use MCP to access external data sources, perform financial data lookups, or communicate directly with your firm's tooling.
Built-in tools
Section titled “Built-in tools”Built-in tools run on the server inside your workspace and need no external MCP server. You grant them per agent as abilities, and results return into the same chat thread.
| Area | What agents can do |
|---|---|
| Workflows and data | Query workflow configuration, read the rows a run published to Fontana Files, start workflow runs, and list, get, or update a Workspace’s Exception Management tickets and setup (workflow_listExceptions, workflow_getException, workflow_updateException, workflow_getExceptionManagement, workflow_updateExceptionManagement) |
| Knowledge Graph | Search governed corpora and open any source by namespace and path |
| Agent memory | Save and forget durable facts in your private memory without setup, one markdown file per topic. Your agents share it and recall it automatically |
| Canvas | Query and change workflow graphs (nodes, edges, ports, and canvas config) through typed canvas tools, often inside Skills playbooks |
| Documents | Specs, notes, and reports are plain markdown files in the Workspace, so an agent writes and reads them with the Files tools or in a terminal session |
| Chat orchestration | Ask you structured questions (Human in the Loop), check which workspace secrets are set and ask you to set a missing one (system_workspaceSecretsStatus, system_requestWorkspaceSecret; the agent never sees a value), show a clickable link for a Flow path or web URL, manage task lists, compact thread context into a summary, delegate to sub-agents, and hand off threads |
| Skills runtime | List the skills the agent may open, activate and close skill sessions, and read reference files of open skills and of its own package (skills_listSkillsCatalog, skills_activateSkill, skills_closeSkill, skills_readPackageFile) |
| Agent packages | Agent and skill packages are files in Fontana Files, so an agent reads and edits them with the Files tools. The namespace’s grants alone decide who may change a package. A write to a file Fontana reads, such as AGENT.md, SKILL.md, or schedules.json, says in its result whether Fontana accepted it. With Delegate to other agents, an agent also resolves agents and works with schedules (agents_listAgents, agents_upsertAgentEventSchedule, agents_triggerAgentSchedule) |
| Files | Read, query, write, rename, and delete files in your Fontana Files namespaces, and list or create namespaces, through the Fontana Files MCP tools (mcp_ffs_*) that Read and write files grants. Every call runs as you and follows your namespace grants |
| Agents with Send and receive email list, search, read, draft, and send from a mailbox on your tenant domain. Send is whitelist-only and fails closed. See Agent email | |
| Public web (Fontana Browser) | Browse live pages with Browse the web. Each session starts on demand in an isolated environment and is deleted when the agent releases it. You see a screenshot under each browser call in chat and a live preview in the right column, where Take control lets you drive the session and Resume agent hands it back. When a page is still loading or no session slot is free, the agent waits and retries |
Built-in tools are the default for day-to-day Flow work: execution stays in your tenant, recorded, and inside your role.
When thread history is compacted, you see a dashed Content above has been compacted boundary with an expandable summary. The compaction itself appears as an ordinary tool row: Compacting thread context while it runs, Compacted thread context when done, and expanding it shows why it ran, what each pass covered, and the token count before and after. Fontana also compacts the oldest prefix on its own before a model call would exceed the agent or model limit. Agents can compact a labelled [order=N] range themselves with system_compactThreadContext.
When an agent launches several tools in one turn, each call has a bounded wait. If one stalls or fails, Fontana records a clear error for that call and the thread leaves the analysing state. You can stop one pending tool from its row in the transcript; Fontana records a cancelled result and continues. The whole-run Stop control is a separate action.
MCP connections
Section titled “MCP connections”Use MCP when an agent must reach an external system you operate: SaaS APIs, databases, search services, calculators, or your own HTTP tool servers.
In AI → Tools and MCP, you register MCP connections (HTTP or SSE transport), test connectivity, and refresh the discovered tool list. Add new MCP starts from one connection (name, type, url). You can paste an mcpServers (or servers) catalog from an editor’s MCP config and Fontana splits it into individual connections. Approved tools appear in the agent catalog under namespaced ids (mcp_<connectionSlug>_<toolName>). You can grant individual tools or a connection wildcard (mcp_<connectionSlug>.*) that expands against the discovered snapshot at runtime.
Each connection’s settings are a file in the system namespace of Fontana Files, config/mcp/<slug>.yaml: display name, transport, URL, header names, authentication kind, whether it is active, and an optional permission. Saving on AI → Tools and MCP writes that file and needs agents:write. You can also ask Fontana agent to add, update, or remove a connection: it writes the same file with the Files tools, which needs write access to the system namespace (files:admin). The file never holds a header value, bearer token, or OAuth credential; you enter those on AI → Tools and MCP. If a saved file cannot be read, the connection keeps its last good settings and the error shows on AI → Tools and MCP. tools_testMcpConnection tests a connection and refreshes its discovered tools. Hosted OAuth finishes in the browser: create the OAuth connection, then Connect on AI → Tools and MCP.
Each MCP card on AI → Tools and MCP has an Agents column beside the discovered tools. Selecting an agent there grants the connection on that agent’s AGENT.md, the same change as the connection’s tile on the agent card. The agent picks it up once the file syncs.
| Topic | What you should know |
|---|---|
| Authentication | Bearer tokens and OAuth app credentials (including your own client id and secret) are stored write-only in Vault and used only during discovery and execution |
| Request headers | Header values (for example an API key header) are write-only in Vault. The connection shows each header name as Set or Not set; entering a value replaces the saved one. A duplicated connection carries header names only |
| OAuth providers | Hosted flows use browser OAuth with PKCE; redirect URIs are shown on the connection |
| Discovery | Fontana-seeded connections (Knowledge Graph, Fontana Files, Fontana Browser, the agent’s computer, Chat Channels) refresh their tool catalogs when you apply a Fontana version. Connections you add refresh when you test them; grant their tools after a successful refresh |
| Transport | Remote HTTP and SSE only; hosted agents do not reach local stdio servers |
| Governance | Agent assignment is the approval boundary: an MCP tool no agent is granted is not callable |
For external systems, Fontana is the MCP client: your agents call tools on servers you register. Fontana also serves its own Knowledge Graph and Fontana Files MCP servers on your tenant origin, so approved external clients reach namespace-scoped graph evidence and git-backed files with the same grants. See Knowledge Graph → MCP, Fontana Files → MCP, and External agents for client setup.
When you open AI → Tools and MCP with nothing selected, select Knowledge Graph or Fontana Files to copy the public Streamable HTTP URL and Authorization: Bearer header for ChatGPT, Claude, Cursor, and other clients.
Configure tools for agents
Section titled “Configure tools for agents”Tool governance spans three pages that work together:
- AI → Tools and MCP: register MCP connections, inspect schemas, refresh discovery, manage credentials, and grant a connection to agents from its Agents column.
- AI → Agents: switch abilities on per agent. Each MCP connection you add appears as a tile on the agent card, including connections whose last test failed or that have no discovered tools yet. Grant Skills namespaces in the Skills section of the same card.
- AI → Skills: author and upload skill folders into Fontana Files namespaces; each package can declare
allowed-toolsthat expand only while a skill session is open.
The agent’s computer
Section titled “The agent’s computer”Each agent has a computer for shell commands, scripts, and files. In chat the agent calls it “my computer”. Live web pages are Fontana Browser, which the agent calls “my browser”.
Use a terminal session (system/skills/coding) is that computer. mcp_session_open starts it with no network access. Python 3.11 includes pandas 3.0, matching workflow Python operations. Turn on Allow internet access to also grant mcp_session_open_online: DNS plus public HTTP and HTTPS, with curl and wget. Fetched pages and files can carry instructions, and anything on an online computer can leave over the network. mcp_session_open_transform opens the transform terminal: a computer with no network access that holds everything the plain terminal has (rg, jq, DuckDB, Python 3.11 with pandas 3.0) plus Java with Saxon-HE 12.10 (XSLT 3.0, saxon), Node.js 22 (node), dbt 1.12 with the DuckDB adapter (dbt), and Jinja2. The Export a workflow as code skill grants it. All three open tools share mcp_session_exec and mcp_session_close.
OpenSandbox is the platform service that runs the computer. Each computer is ephemeral and time-bound, and each workspace authenticates to the service with its own credential. Each mcp_session_exec stops at 120 seconds and keeps the first 1 MiB of each stream. A computer that sits idle for 30 minutes ends, and none lasts more than 4 hours.
A Flow agent, or an external client acting as a signed-in user, can pass a named bucket on any open tool together with writes. That copies the Fontana Files namespace into /home/sandbox/data, including its git history, so deleted and overwritten files and per-commit actor ids are readable. writes: live commits each command that changes files to the namespace. writes: review pushes them to a session branch for a person to Approve or Reject in the browser. An empty bucket opens a computer with no files attached. A viewer grant copies and pulls updates and does not push. On an online computer, that copy can leave over the network. Generated build files under .fontana/ are copied only when the open call names them in include_build_files: workflows (run rows, run history, and port caches), kg (Knowledge Graph outputs), or exceptions. They stay current on every command, are read-only, and are never saved back. Large Workspaces hold gigabytes of them, so name only what the task needs.
Exploratory compute stays separate from your tenant data while remaining available to granted agents through the same recorded tool pipeline as every other call.
Export a workflow as code
Section titled “Export a workflow as code”An agent can write a workflow as a program you run in your own systems. Ask in chat for the workflow as XSLT, Python, SQL, dbt, JavaScript, or Jinja. When you leave the language out, the agent asks. You can also describe a different output shape or format than the workflow’s Save File writes.
The Export a workflow as code skill (system/skills/export-workflow) comes with the system namespace, so Fontana agent, Workflow agent, and every other agent granted system can open it. The agent then:
- Opens the transform terminal on the workflow’s Workspace with the build files, and reads the workflow file and the rows its last run published. When the workflow has not run yet, it starts a run and waits.
- Writes one program that loads the workflow’s input, applies its validations and transformations, and writes the output.
- Runs the program on the workflow’s own input files and compares its output rows with the published rows, repeating until there is no difference. The comparison is on rows, not on the saved file.
- Tests rows the sample data does not contain, such as blank values, unknown lookup keys, and each validation firing, taking the expected result for each Formula operation from Fontana’s formula checker.
- Saves the program and an
EXPORT.mdnote underexports/<workflow name>/in the Workspace. When the session writes for review, the files wait for your approval.
EXPORT.md states the target and the command to run it, the runtime versions, the run the rows were compared against and its row counts, the comparison result, the edge rows tested, and everything that was not verified or not reproduced. The program writes the exceptions the workflow raises to a second output, and writes the main output only when the output node’s trigger condition holds, unless you ask otherwise. When you asked for a different output shape, the agent reaches equal rows first, then applies the shape, and tells you the shaped output has no workflow output to compare with. The agent leaves the workflow and its input files unchanged.
Steps that cannot be reproduced outside Fontana, such as AI operations, REST and GraphQL calls, data connectors, and email, are never approximated. The program stops at that step with a message naming the node, and the agent tells you which steps those are.
The Learn exporting workflows as code Workspace in the Workspaces explorer shows the result. Its lesson merges two CSV files, transforms and summarises them, and holds the same pipeline exported as Python, XSLT 3.0, SQL, dbt, and JavaScript under exports/01 Orders and customers/, each with its EXPORT.md. Choose Clone Workspace to run it and export it yourself.
Audit and review
Section titled “Audit and review”Every built-in and MCP tool call writes a tool-call record with protocol metadata, latency, and outcome. With the right permissions you review agent tool usage in Flow and correlate it with the immutable audit trail where your deployment enables it. See Observability, Compliance evidence, and Security (OpenSandbox controls in Workspace isolation).
Tools, MCP, and Agent Interop
Section titled “Tools, MCP, and Agent Interop”| Integration | Connects agents to | Configure in |
|---|---|---|
| Built-in tools | Fontana workflows, data, canvas, Knowledge Graph, chat orchestration | AI → Agents (plus Skills for temporary expansion) |
| MCP | External tool and context servers (HTTP, SSE) | AI → Tools and MCP and AI → Agents |
| Agent Interop | Peer agents on other platforms over A2A, ACP, ANP, and OFP | AI → Agent Interop |
MCP servers provide tools; Agent Interop reaches an agent that runs its own reasoning. For delegation and handoff between agents, see Agent Interop.