Skip to Content
MindedDocsGet started

Actions

List and read what you have in Minded by name, with no prompt and no usage spent.

An action does one thing in Minded by its name: list your chats, read what an agent's last run produced, read billing. No prompt is sent and no model runs, so an action spends no usage and answers at once. Use a prompt when the work needs Minded's judgement.

A key calls only the actions its access and its maker's role allow. find_actions lists exactly those.

find_actions

It is a read, so it runs without asking you.

Input
wordstext, optionalWords the action's name or line holds. Leave it out to list every action the key may call

Returns actions, each with:

Field
nameThe name to pass to run_action
doesWhat it does, in one line
kindread, change or sensitive
areaThe access area the key needs for it
inputThe action's input, as a JSON Schema

run_action

Input
nametextThe action's name, from find_actions
inputobject, optionalThe action's input, by the schema find_actions gave

Returns output, the action's answer.

const result = await minded.callTool({ name: 'run_action', arguments: { name: 'agents.readRun', input: { chatId } } });
const { output } = JSON.parse(result.content[0].text);
console.log(output.reply, output.files);

Over HTTP, the same two calls are GET /actions, with words as an optional query, and POST /actions/{name} with { "input": { … } }.

The actions

ActionWhat it readsNeeds
chats.findThe chats you may open, newest activity first, or those holding your wordsChats: Read only
agents.findThe agents you may open, or those holding your wordsAgents: Read only
agents.runsThe newest runs you may open, of one agent or of every agentAgents: Read only
agents.readRunWhat one run produced: its status, Minded's last reply and its file names. It starts no runAgents: Read only
billing.readThe plan and usage left, the invoices and the spend over a span of daysUsage: Read only, and a key made by an Admin

Actions that change something come later.

What a key cannot do

Some things stay in the browser whatever access the key has. The refusal names the page that does it.

Asked forWhere it is done
Reading or changing the VaultThe Vault page
Making or changing an API keySettings › Integrations › API keys
Changing the plan or billingBilling › Plans

What counts

  • An action spends no usage. It counts toward the key's 60 calls a minute, find_actions too.
  • A key never reads more than its maker does in Minded: a chat or a run its maker may not open reads as one that is not there.
  • Every call is listed in the key's Recent usage, a refused one with why.