Skip to main content

phone_task

Hand a task to Mobster’s agent on the user’s iPhone. It asks the user in the Mobster app before it sends, buys, posts or deletes. Pass thread_id for a follow-up that sees what earlier tasks found. Acts on the device. Arguments Example
tools/call params
Returns Where the task stands, in a sentence: done with its answer, still running, queued for the phone, waiting for the user’s approval, an answer or the phone, or how it ended. structuredContent has thread_id, run_id and status, with answer, data, blocks, reason, question, choices, approval or the queue’s position as the status calls for. On several phones it has group_id and phones, each phone’s state, and once every phone is done, summary.
Annotations: title: "Phone task", readOnlyHint: false, destructiveHint: true, idempotentHint: false, openWorldHint: true

phone_task_status

Where a phone_task task is: running, waiting for the user’s approval or answer, or finished with its answer. Read-only. Arguments Example
tools/call params
Returns Where the task stands, in a sentence: done with its answer, still running, queued for the phone, waiting for the user’s approval, an answer or the phone, or how it ended. structuredContent has thread_id, run_id and status, with answer, data, blocks, reason, question, choices, approval or the queue’s position as the status calls for. On several phones it has group_id and phones, each phone’s state, and once every phone is done, summary. In a conversation where no task started, status is idle.
Annotations: title: "Phone task status", readOnlyHint: true, destructiveHint: false, openWorldHint: false

list_workflows

The user’s saved workflows in Mobster: each one’s name, steps and blanks. Read-only. Arguments Takes no arguments. Example
tools/call params
Returns One line per workflow: its name, id, steps, graph and blanks. structuredContent has workflows, each with id, name, steps, blanks, sameConversation, nodes, branches, loops and published.
Annotations: title: "List workflows", readOnlyHint: true, destructiveHint: false, openWorldHint: false

run_workflow

Run one of the user’s saved workflows on their iPhone, with a value for each blank, in a new conversation or the one you name with thread_id. Mobster asks the user before it sends, buys, posts or deletes. Acts on the device. Arguments Example
tools/call params
Returns That it started the workflow, then where the run stands, as phone_task says it. structuredContent has workflow_id, thread_id, run_id and the run’s state. A graph workflow answers as graph_status does, with thread_id and run_id.
Annotations: title: "Run workflow", readOnlyHint: false, destructiveHint: true, idempotentHint: false, openWorldHint: true

graph_status

Read a graph workflow’s accepted batch by workflow_id and batch_id, without starting it again. Read-only. Arguments Example
tools/call params
Returns The batch’s status in a line. structuredContent has workflow_id, batch_id, status, reason, result, steps (each with instance, type, state, reason, output and runId) and status_uri.
Annotations: title: "Graph status", readOnlyHint: true, destructiveHint: false, openWorldHint: false

list_profiles

The user’s social media profiles mapped in Mobster (handle, app and the iPhone each is signed in on). Pass one to phone_task as profile, such as “@getmobster on Instagram”. Read-only. Arguments Takes no arguments. Example
tools/call params
Returns One line per profile and the iPhone it’s on. structuredContent has profiles, each with id, profile, handle, app and phone.
Annotations: title: "List profiles", readOnlyHint: true, destructiveHint: false, openWorldHint: false

list_accounts

Deprecated: use list_profiles, which answers the same list. Kept so clients that learned this name keep working. Read-only. Arguments Takes no arguments. Example
tools/call params
Returns One line per profile and the iPhone it’s on. structuredContent has accounts, each with id, account, handle, app and phone.
Annotations: title: "List profiles (old name)", readOnlyHint: true, destructiveHint: false, openWorldHint: false