Works for function tools and MCP servers. Locking an MCP applies to every tool the server exposes; see Locking a whole MCP. File search, skills, and guardrails always behave as
auto.For end users
What you see in chat
User-first tools sit in their own section of the tools dropdown, labelled On demand (or Sur invocation in French), separate from the Available / Connected / Requires connection groups. Hovering the section header surfaces the reminder “Select to make this tool available for this message.”
Summon a tool for one message
1
Open the tools dropdown
2
Click a tool under On demand
A chip appears next to the input.
3
Send your message
The agent now has the tool and is strongly nudged to use it. On the next turn the tool goes back to On demand automatically.
Force one tool of an MCP server
An MCP server row in the tools dropdown has an arrow: expand it to list the server’s tools, under the display name the server gives them when it has one, then pick one. The chip readsserver › tool and the agent must call exactly that tool on this message (a model that doesn’t accept forced tool use is instructed to call it instead). Picking the server row itself makes the agent call one of the server’s tools, the one that fits the message best. Models served by OpenAI’s own API and Gemini models on Vertex AI are held to those tools by the provider; other models, Azure OpenAI included, must call a tool and are instructed to pick one of the server’s. The list only shows the tools the agent exposes, see Choosing which tools of an MCP server the agent can use.

In the chat, only the tools the organization and the agent allow are offered, and the user can force one.
What if I don’t summon it?
The agent answers normally but doesn’t use the tool, even if you ask explicitly (“please search the web”). If the agent tries to call it anyway, the platform blocks the call silently. You are not asked to approve anything. The agent can know the tool exists by name (it appears in its list of available tools, marked as disabled), so it may acknowledge it: “I have web search available, but it’s currently disabled.” What it can’t do is call it.Which models honor the summon
When you summon a tool, the platform forces the model to use it. This is honored by most modern models. On older or less capable models the summon is best-effort: the model is encouraged but may still ignore your pick. (Note that Always ask does not rescue this case: if the model never makes the call, there’s nothing to approve.)For administrators
When to use user-first
Configure from the agent builder
Open the agent in Agent Creator → Settings → Permissions → Tool activation. Set the default to Auto or User-summoned only, then add per-tool overrides if some tools need a different behavior from the default. Function tools and MCP servers appear in the override dropdown; file search, skills, and guardrails are intentionally excluded.
Locking a whole MCP
A rule on an MCP server applies to every tool that server exposes: you gate the integration as a whole rather than enumerating each tool it might add.- The MCP appears as a single row under On demand in the chat dropdown. Clicking it gives the agent access to the whole integration for that turn.
- After the summon, the agent must call one of the MCP’s exposed tools. Which one is up to the agent; phrase your request so the right pick is obvious, or pick the tool itself under the server in the dropdown. Depending on the model, the choice is either restricted to the server’s tools or guided by an instruction.
- If the MCP requires OAuth, the row stays under Requires connection until the user connects it, then moves to On demand.
- Approval rules cascade too. A
tool_permissionsrule on the MCP parent fires on every tool the server exposes; a child-specific rule wins over the parent rule on conflict.
You can’t user-first a single tool inside an MCP; locking applies at the integration level. To keep the agent away from some of a server’s tools altogether, turn them off in the server’s Tools selection.Approval is not bound to the same granularity: a
tool_permissions rule can target a single tool of an MCP server, or a single action of that tool. See Tool Permissions → Three levels.Configure from AGENTS.md or the API
400 VALIDATION_ERROR) any rule that:
- Targets a tool name that doesn’t exist on the agent. MCP child names are resolved at runtime; only the persisted MCP parent name is a valid target.
- Targets an exempt tool type (
file_search,skill,guardrail,system). - Sets an activation value other than
autooruser_first. - Duplicates a tool entry.
GET /v1/agents/{id}/export and POST /v1/agents/import so an exported AGENTS.md re-imports identically.
Behavior reference
The summon does not persist across turns: each new message resets the on-demand tools to inert. Answering a question. One exception: when the summoned tool’s turn ends on a question to the user, the summon is kept for the answer, so the tool is still usable once the user replies. It is replayed only when the answer carries nometadata.tool_choice of its own: an explicit choice wins, "auto", "none" and "required" included, and the stored tool is not called. In the chat, a tool the user turns off in the tools menu before answering is not used for the answer: the answer then carries "auto". A turn that ends on a connection card or an interactive form keeps nothing: a message written instead of using them does not call the tool again.
Approval composition. If a summoned tool also has Always ask, the call pauses for approval. The summon context is preserved with the pending approval, so the agent can run the call on the user’s approval without re-summoning.
Sub-agents. Activation rules are per agent. A sub-agent has its own configuration; the parent’s summon does not propagate.
Which tool types are eligible
Known limitations
- User-first hides functionality, not the name. The agent still sees the tool name in its list (marked disabled), and past calls can leave traces in conversation history. Don’t use user-first to keep a tool’s existence secret.
- Best-effort summon on some models. Older or open-weight models may ignore the forced choice. Pair with Always ask for any action with side effects.
- Locking is per MCP server. Locking an MCP locks every tool it exposes. Hide the tools the agent should never use in the server’s Tools selection; a user can still force one tool of the server from the dropdown.
FAQ
Does locking a tool save tokens?
Does locking a tool save tokens?
Yes. On locked turns the tool’s full schema is replaced by a minimal stub, usually 200-1000 tokens per tool, per turn.
Can I lock all tools by default and unlock a few?
Can I lock all tools by default and unlock a few?
Set the default to User-summoned only and add per-tool overrides with
activation: auto for the few you always want available.Can I lock a specific tool inside an MCP server?
Can I lock a specific tool inside an MCP server?
Not individually: locking is per server. Turn off the tools the agent should never use in the server’s Tools selection, and let users force a single tool of the server from the tools dropdown when they need it.
What happens if I rename a tool?
What happens if I rename a tool?
The activation rule is keyed by the tool’s name. Update the matching
tool_activation.tools[].tool entry or the API will reject the change.Do starters / prompt suggestions auto-summon tools?
Do starters / prompt suggestions auto-summon tools?
No. If a starter relies on an on-demand tool, summon it from the starter handler or set the tool back to
auto.Related
- Tool Permissions: gate whether a tool runs. Pairs with user-first to gate whether the agent sees it.
- Custom Tools: the function tools you’ll most often want to gate.
- Capabilities: overview of all tool types.
- Playground: test summoning end-to-end before publishing.