Ask Muse Code (new session) [experimental]
muse_askSend a trusted prompt to Meta's Muse Spark model as a sub-agent in a new session; set the workspace for repo access, choose sandbox mode, then follow up with muse_continue.
Instructions
Best for Meta's Muse Spark models (Muse Code, muse exec), in a NEW session.
EXPERIMENTAL: the real model has never answered through this bridge (its offline
echo provider verified the rest), so if it misbehaves say so plainly. Needs a Muse
plan (muse login) or META_API_KEY; run muse_status first. Pass workspace=; without it the sub-agent sees no repo. Follow up with muse_continue. read-only
switches its write/shell/web tools off on every OS. Autonomous agent: trusted
prompts only.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"prompt": "<prompt>"
},
"name": "muse_ask"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Optional model id (`--model`, e.g. "muse-spark-1.3"). Muse accepts any id, so this is not validated. Omit for muse's default. | |
| watch | No | If true, open a live "watch" view of muse's task stream. Same final text is returned. Best-effort. Default false. | |
| prompt | Yes | Question or instruction for Muse. Passed in a file, never argv. | |
| sandbox | No | "read-only" (default — muse's write, shell and web tools switched off, so it can only read and answer; holds on every OS), "workspace-write" (shell runs inside muse's OS sandbox, network proxy-only; on Windows that sandbox needs a one-time elevated setup — see muse_status), or "danger-full-access" (`--yolo`: no approval, no sandbox — avoid). | read-only |
| timeout_s | No | Max seconds to wait for muse to complete. Default 180. | |
| workspace | No | Working root (`--workspace`). Defaults to the server cwd. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |