Skip to main content

Run API Endpoint

Executes an API endpoint as part of an MCP Server Tool function stack

Note

When using the Run API Endpoint function, authentication tokens are not checked.

Run Task

Executes a task as part of an MCP Server Tool function stack
Tasks have no output.

MCP List Tools

Provides a list of available tools and their configurations from an MCP server

MCP Call Tool

Executes a tool available on a remote MCP server

Ask the User (Elicit)

Asks the MCP client’s user for structured input while a tool, prompt or resource runs, such as a confirmation before a refund or a missing detail. In the function panel, it’s under MCP → Ask the User (Elicit). It’s available only in tool, prompt and resource stacks. action is accept, decline or cancel. content holds the field values, and only when the user accepts.
Everything before an elicit runs again for every answer. The client answers by retrying the whole request, so your stack restarts from the top each time. Put database writes, emails, external API calls and other side effects after the last elicit. The builder flags a write that comes before one.
Always handle cancel. You get {action: "cancel"} immediately, and the stack continues, when:
  • the client doesn’t support elicitation, which includes every client on a protocol version before 2026-07-28
  • the stack runs outside an MCP request, such as from an agent or a test
  • you use Run & Debug without a simulated answer for that key
Fields can’t collect passwords or other sensitive values, and can’t be objects, files, JSON or timestamps. An answer is valid for 10 minutes. In Run & Debug, pick an answer for each elicit under Simulated elicitation.

Report Progress

Sends a progress update to the MCP client during a long-running tool, prompt or resource. In the function panel, it’s under MCP → Report Progress.
It returns nothing and never fails. It does nothing outside an MCP request, or when the client didn’t ask for progress. Run & Debug shows the updates in a Progress table.

Sign-in functions

These functions build the login handoff for an MCP server with hosted OAuth sign-in. Use them in XanoScript. See Require sign-in (OAuth) for examples and the rules each one enforces.