Tabs & Spaces Developers

Build

Commands

Every action your app declares is also a command: something people run themselves, in a conversation, with no agent between. They don't ask Tabby to sign the guestbook; they run /sign_guestbook and it's done. You don't declare anything more: the same action, the same endpoint (or the same records), the same input.

How people run them

In a conversation of a space where your app has a tab, there are two ways:

  • Type / at the start of the message box. The commands here are suggested as they type. Picking one writes it out, and its inputs are shown under the box, required ones marked. They fill them in as text and press Enter.
  • Choose + → Use an app. The commands here are listed by app, ours last, with a search. Choosing one opens a form made from its input.
The message box with /ti typed in it, and above it a list headed Commands: /create_ticket, /get_ticket, /list_tickets and /update_ticket, each from Help desk.
Typing / suggests the commands here.

Each input is a field of its kind, labelled with its name and hinted with its description: text for a string, a larger box for text, a list for an enum, yes or no for a boolean, a date picker for a date, a date and time for a datetime (sent as an instant, in UTC), and a file picker for a file (uploaded first, then given to your action like a file attached in the conversation). Optional inputs say so. When the command can run in more than one space, the form asks where.

A form titled /create_ticket: Subject and Customer filled in, then Contact, Channel (phone), Priority (normal), Status, Assignee, Due date, Summary and Resolution, each with a hint; a note that it runs as you as soon as you press Run; Back, Cancel and Run.
The form, made from the action's input.

/help (suggested with the rest) opens the list of everything they can run.

What happens

  • No approval. The person asked, so an action that changes something runs as soon as they press Run (or Enter). Agents still ask first; people don't need to.
  • As them, in your tab. It runs exactly as when an agent uses it, in your app's tab in that space, with the same token, context and data key, but agent is null. It's on the audit trail as theirs. Your action's events may start the space's triggers, as with an action someone approved.
  • What it did is posted. Their message shows the command and its input, then your result, your cards, the files you answered with and your view, for everyone in the conversation. In a thread, it's a reply.
  • Records actions read as tables. A records action that lists or gets shows its records as a table (your collection's fields, then each record's id, which people can give to the actions that change or delete one), with "2 records in tickets." above it. One that adds or changes a record says so with its id.
  • What's wrong is said, and nothing is posted. A required input missing, a value of the wrong type or not in its enum, a file of a type you don't take: the form (or the message box) says what, and nothing reaches your server. When your server answers with an error, it's posted as the command having failed, with your error.
Two commands on one message: /create_ticket from Help desk with its subject, customer, channel, priority and due date, then "Added to tickets (id …)"; then /list_tickets with Customer Harbour Bakery, "2 records in tickets.", and a table of both tickets.
Posted: what was run, then what it did.

Where they can run

A command runs where your app has a tab, like an action an agent uses. In a space, that's the space's own tab: an app without a tab there offers no commands there. From a direct message or My Space, a command reaches the person's other spaces that have your tab: the first one, or the one they choose in the form (in="Space name" as text). Guests don't run commands, and nobody runs one where they can't post.

Names

A command's name is your action's name: sign_guestbook is /sign_guestbook. When another app in the same place has an action of the same name, or it's the name of one of ours (task, email) or help, each is called by its app's name too: Hello's task is /hello_task. So prefer names that say what the action does, in your app's words: create_ticket, not create.

Descriptions are read by people now too. The action's description is the line under its name in the list and the form, and in /help; each input's is its hint. Write them for both: "Add a note to this space's notes" reads well to a person and an agent; "…for the person you work for" only to an agent.

Inputs as text

Written out (in the message box, or from a messaging app), what follows the name is read like this:

WrittenRead as
/task Call the printerPlain words are one value: they go to the first input still empty (required first).
/task "Call the printer" AdaA quoted value ("…", '…' or “…”) is one value; several fill the inputs in order.
/create_ticket customer="Harbour Bakery"name=value (or name: value) gives an input by name, in any order.
/task Call the printer due=2026-11-20Both together: named inputs, and the rest in order.
/task Call the printer in="Client work"in= chooses the space, when it could run in several.

Values are read as their types: a number (1,200.50 too), yes or no (yes, no, true, off…), a value of an enum in any case, a date as 2026-11-20, a date and time as 2026-11-20 09:30. When something required is missing, the form opens with what they wrote filled in. A file can't be written: the form asks for it.

Order your inputs for people. Put the one people give most first (a ticket's subject, a note's text): it's the one plain words fill.

From messaging apps

When the workspace has Telegram, Slack or WhatsApp connected, people who linked their account send commands to the bot as text. On Slack they start with ! instead of / (Slack keeps / for its own commands). Sent to the bot directly, a command runs in the person's spaces, as from their DM with Tabby. In a group connected to a space, it runs in that space, for people who linked their account and are in it. /help answers with the commands there and how they're written:

text
Commands you can run here:
/add_note text: Add a note to this space's notes, for the person you work for.
/task title [assignee] [due]: Add a task

Give inputs in order, quoted when they have spaces, or by name: /task "Call the printer" due=2026-11-20.

What it did comes back to the chat as words: your result, your cards as text, and a note when it made files. What's wrong with it is said at once, with how it's written. A command with a file input can't be run from there.

Ours

The workspace has its own commands too, like a workflow's steps: /task adds a task to the space's Tasks tab (a title, someone to give it to, a day it's due), and /email sends an email from an account the person connected (to, subject, message). They follow the same rules, and take the short names.

Trying yours

Commands are your actions, so tands dev's harness tries them as it tries actions. In a workspace, install your app, add its tab to a space, and type / in that space's conversation.

Search every page: actions, the manifest, the SDK, tokens…