Next task for Muse
next_task_for_museFor the referencesource Muse connector only (bearer token required). Returns the oldest open task from the studio's queue: id, instructions, the sites the task may read, the output format expected, and where to deliver the result. Returns {no_tasks: true} when the queue is empty. login_allowed lists the hosts where the task may sign in, with a credential already in Muse's own store; empty means read-only, never sign in. ALWAYS pass already_submitted: the ids of every task you have submitted a result for in the last 14 days (your own skip list). This server keeps no memory between calls, so that list is the only thing that reliably stops it handing a finished task back to you; with it, each call returns the next task you have not done. Pass skip with the id of any task your own safety check refused, so the rest of the queue is still served. Approved email replies are a separate kind and are served only when sends is true; make that the last call of a run.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "next_task_for_muse"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| skip | No | Task ids to leave out without a result: a task your own safety check refused, or one you could not read. Send the whole list on every call. | |
| sends | No | false or absent: every kind of task except an approved email reply. true: only approved email replies (id begins send-). Make the true call last in a run, after the mail watch and the replies for Joe. | |
| mac_chrome | No | Can THIS run use the Chrome on Joe's Mac through your extension? true only in a run started by a message typed on that Mac (Joe in chat there, or the doorbell sentence). false in a scheduled run on your cloud machine. With false, tasks that need a signed-in session in that Chrome are held back for a run that can do them instead of being handed to one that can only report blocked. With true, tasks whose browser is chrome are served first. Leave it out only if you cannot tell. | |
| already_submitted | No | Task ids you have already submitted a result for. They are skipped. Send your whole recent skip list on every call. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | No | ||
| no_tasks | Yes | ||
| sends_waiting | No | How many approved email replies are waiting for a call with sends true. | |
| queue_generated | No | ||
| held_for_mac_chrome | No | With no_tasks true: how many tasks are waiting for a run that can use the Chrome on Joe's Mac. |