What you do in the portal
What an AI agent does not do for you, and how it tells you the steps to do it yourself.
An AI agent connected to the platform server never ends at a dead end. When you ask for something no tool does, it can look up how you do it yourself and tell you the steps, with a link to the right page.
The two tools
how_do_itakes your request in plain words and returns the closest matches. Each match says what it is, why the agent cannot do it, the steps you take, and the link. Pass anapplication_idororganization_idand the link opens that application or organization.list_portal_only_actionsreturns all of them.
Both need only Read.
Where an approval link covers the change, the match also lists the actions the agent can ask you to approve, so it can offer to request one instead.
What they cover
- Your own account. Your password, email address, two-factor, passkeys and sessions, the accounts you sign in with, your own billing and payment methods, and deleting your account.
- Other people's data. The values people entered in their profiles, the answers they gave to sign-up questions, and exporting every user of an application.
- Admitting a person without their approval. Access is given by invitation, and accepting is the person's own decision.
- Anything this agent's access does not allow. A permission you did not grant it, a read-only connection, an application or organization outside what it may reach, or a feature your plan does not include.
- A few things that only make sense on screen, such as uploading an image too large to send through a tool call.
Refusals carry the steps
When a tool call is refused because the agent lacks a permission, a scope or access to the
application, or because your plan does not include the feature, the error includes a how_to
object: the same title, reason, steps and link how_do_i returns. The agent can relay it to you
without another call.
{
"error": {
"code": "...",
"detail": "...",
"how_to": {
"key": "agent_permission",
"title": "Give this agent a permission it does not have",
"why": "...",
"steps": ["..."],
"link": "https://onefold.eitozx.com/..."
}
}
}Branch on code, as with any refusal; detail and the how_to text are for display. See
When a call fails.