Gateway tools
An agent can have thousands of tools across the toolkits its groups give it. Rather than list them all, CortexHub gives every agent a few gateway tools (also called meta-tools) to find the tools a task needs, load their inputs, run them under governance, and follow a call that is waiting for approval.
Example. At Acme Inc, Alex asks Claude to "send Example Ltd the signed order form from my files". Claude calls cortexhub_search_tools with "send an email with an attachment", loads the input schema of gmail.send_email with cortexhub_get_tool_schemas, then runs it with cortexhub_invoke_tools, attaching the file by its handle. Acme Inc's rule "Messages to people outside need approval" holds the call, so Alex sees an approval card; once he approves, the email is sent.
Tools
| Tool | Title | What it does |
|---|---|---|
cortexhub_search_tools | Search tools | Finds tools by what the agent needs to do, across every toolkit its groups give it. Up to 10 searches in one call. Says when a toolkit still needs connecting, with the link to connect it. |
cortexhub_get_tool_schemas | Load tool schemas | Loads the inputs of the tools the search found. Required before running them. |
cortexhub_invoke_tools | Run tools | Runs up to 10 calls under governance. Each call carries the agent's reason and a plain-language summary that becomes the approval card if the call is held. |
cortexhub_get_task | Check a task | Checks a call that is waiting for an approval or a sign-in, until it finishes. |
cortexhub_request_consent | Request approval | Shows the approval card inside the app for a call waiting on the member; the member decides on the CortexHub page the card opens. |
cortexhub_search_tools, cortexhub_get_tool_schemas and cortexhub_invoke_tools each take an objective: the member's overall goal in one sentence, kept the same for the whole task, so every step of the task is grouped in one trace.
The description of Search tools also lists the toolkits the agent's groups give it, and which of them still need connecting, so the agent knows where to look.
Who can use them
| Agent | Gateway tools |
|---|---|
| Claude, ChatGPT and other apps connected as a member | All five |
| Your own agent through the SDK | All five |
| Co-worker and hosted organisation agent | The first four. Their approval cards appear in the chat, in Slack and under Approvals, so they never need cortexhub_request_consent. |
The gateway tools are always available; groups cannot turn them off. They only carry calls: they find nothing a group does not give the agent, and they run nothing that has not passed access and your policies.
How they are governed
The gateway tools themselves change nothing. Each call that cortexhub_invoke_tools runs is governed on its own:
- Access. The tool must be on for the agent's group.
- Policy. The org-wide and group rules, the group's toolkit decision, any tool override and any argument rule apply, and the strictest wins.
- Approval. A held call is parked. Each held call gets its own card; an earlier approval never covers a new call. A request nobody decides within an hour expires, and the call does not run.
- Record. The call, the reason, the decision and the outcome are recorded with a signed receipt.
Apps such as Claude group tools by the hints each tool declares. Search, load and check are marked read-only; Run tools is marked as able to write and delete, because it can run any tool. The hints only label the tools in the app: CortexHub decides every call, whatever the app allows.
For request and response shapes, statuses and the agent loop, see Meta-tools.
The present tool (hosted agents)
Co-workers and hosted organisation agents also have present, which shows something in the chat's side panel: a file from the member's or the organisation's files, found by description or id, or a deck, chart, page or document the agent has just made. It can page through a deck. present only changes what is on screen; it changes no data and is not a governed tool call.