Skip to main content
This page lists every tool on the desk’s MCP server, group by group. You rarely call them yourself: your AI picks them from what you ask. Use this page to know what’s possible, to read what your AI did, or to write precise requests (“dry run it first”, “only restore the refunds task”).

Conventions

  • Live at once. A tool that changes the agent saves a new version, and the newest version is what customers get. Nothing is saved when the files have problems: the answer lists each file and what’s wrong.
  • dryRun: true on any tool that changes the agent checks the change and shows the resulting file without saving it.
  • message on those tools sets the version’s line in History (default: a line saying what the tool did, like MCP: add task refunds).
  • Field edits keep your files tidy. The typed tools (update_task, update_action, …) change only the fields you pass and keep comments, key order and keys they don’t know. Passing null for a field removes it.
  • Roles. Any teammate’s token can use the read tools. Changing anything, Try it, the test chat, set_key and the identity tools need an owner’s or admin’s token.

The agent

Instructions

Tasks

A task is a procedure for one job, like refunds or changing plan. The AI picks it by its description.

Actions

An action is an HTTP request the AI may make: look something up, or change something with POST.
An action that changes something (POST) needs a task step that says exactly what will change and waits for the customer’s clear yes. The AI connected over MCP is told this rule.

Widgets

Widgets are the cards a result is shown as, in ChatKit’s widget format.

Tests

Your website

Desk settings

Signed-in customers

Actions that use {user.id}, {user.email}, {user.<attribute>} or {user.secrets.NAME} run only for customers your website identified. These tools set that up. Owners and admins only. The resource jun://guide/identity gives your AI the claims, signing code for Node, Python, Ruby and PHP, and the page code. See Set up identity with your AI.

Knowledge

The websites and documents the AI answers from. Knowledge isn’t versioned: no History, diff_versions or restore.

Resources

Besides tools, the server offers documents your AI can read: