{"server":"io.github.Pushary/pushary","count":6,"tools":[{"name":"ask_user","title":"Ask User a Question","description":"Request an unresolved decision or missing input from the user through Pushary. Supports confirm, select and input questions. Delivery and waiting follow the account policy; a call waits at most 55 seconds and may return immediately. Returns the question state, answer when available, delivery information and handoff fields. answerUrl is optional. Use wait_for_answer to read a pending result and cancel_question to retract it. Not for reporting finished work or asking what to do next once the requested work is complete, unless the user asked you to; report finished work with send_notification and no question. A choice that blocks unfinished work is a decision to ask. Sends a real question; it does not grant permission for other actions.","input_schema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["question"],"properties":{"env":{"enum":["test"],"type":"string","description":"Set to \"test\" from a test suite. The question is stored and returned as pending, and nothing is delivered to a phone, browser or Slack. The X-Pushary-Env: test header does the same for every call on the connection."},"tags":{"type":"array","items":{"type":"string"},"description":"Deliver only to subscribers that have any of these tags."},"type":{"enum":["confirm","select","input"],"type":"string","default":"confirm","description":"Question type: confirm renders yes/no buttons, select renders the options list, input renders a free-text field."},"wait":{"type":"boolean","default":true,"description":"true (default) blocks until the user answers or the timeout fires. Set false to return immediately with a pending correlationId and poll it yourself via wait_for_answer."},"action":{"type":"string","minLength":0,"description":"The concrete operation about to happen, one line. Shown as the Action line. Cut to 500 chars."},"intent":{"type":"string","minLength":0,"description":"The user's stated task (from their last prompt), one line. Shown as the Intent line so the user can see why the agent stopped. Cut to 500 chars."},"blocker":{"type":"string","minLength":0,"description":"The single gating reason the agent stopped, one line. Shown as the Blocker line. Cut to 500 chars."},"context":{"type":"string","maxLength":500,"description":"One or two sentences about what the agent is working on, shown above the question so the user can decide without opening the terminal."},"options":{"type":"array","items":{"type":"string","minLength":1},"maxItems":6,"minItems":2,"description":"The 2 to 6 choices for a select question. Required when type is \"select\", ignored otherwise. The answered value is the chosen option string."},"repoKey":{"type":"string","maxLength":200,"description":"Stable repository identity for the working directory, e.g. \"github.com/acme/api\". Lets an approval routing rule scoped to one repository avoid governing another. Optional; omit it and only workspace-wide routing rules apply."},"question":{"type":"string","maxLength":8000,"minLength":1,"description":"The complete question, up to 8000 characters. Preserve every point. Notifications show a short preview; the answer interface shows the full question."},"toolName":{"type":"string","maxLength":100,"description":"The tool this approval is for (e.g. \"Bash\"), so the user can choose to always-allow it."},"toolPath":{"type":"string","format":"starts_with","pattern":"^\\/.*","maxLength":4096,"description":"MACHINE-POPULATED. Exact absolute Write file_path from the runtime, for diagnostic correlation only. Models must omit it."},"agentName":{"type":"string","minLength":0,"description":"Name of the agent asking, format \"{Agent} - {project}\" (e.g. \"Claude Code - myproject\"). Shown in the notification title so the user knows which session needs them. Falls back to the MCP client name if omitted. Cut to 100 chars."},"machineId":{"type":"string","maxLength":128,"description":"Stable machine id of the asking agent, so two machines never collapse into one session."},"questions":{"type":"array","items":{"type":"object","required":["question","multiSelect","options"],"properties":{"header":{"type":"string","maxLength":40},"options":{"type":"array","items":{"type":"object","required":["label"],"properties":{"label":{"type":"string","maxLength":100,"minLength":1},"description":{"type":"string","maxLength":500}}},"maxItems":4,"minItems":2},"question":{"type":"string","maxLength":8000,"minLength":1},"allowOther":{"type":"boolean"},"multiSelect":{"type":"boolean"}}},"maxItems":1,"minItems":1,"description":"ONE question, in the richer Claude-compatible shape: a header, per-option descriptions, multiSelect, and an optional write-in. Exactly one keeps already-installed clients answerable; asking several means several calls. Runtime-populated; ordinary callers should omit it and use question/type/options."},"requestId":{"type":"string","maxLength":200,"description":"MACHINE-POPULATED. The CALLER's own identifier for one logical invocation, used only when the runtime supplies no toolUseId. Mint it once, outside your retry loop, and send the same value on every attempt, so three retries of one ask become one decision. Do NOT derive it from the question text or reuse it across two deliberate asks: both collapse a real second question into the first one's answer. If you are a model deciding to call this tool, omit this field."},"scopePath":{"type":"string","maxLength":200,"description":"Set ONLY when this approval exists because the path falls outside the scope the user ratified via propose_scope. Approving then widens the run scope to include this exact path, so the user is not asked again for the same area."},"sessionId":{"type":"string","maxLength":128,"description":"Opaque per-session id of the asking agent, so parallel sessions are attributed separately."},"timeoutMs":{"type":"integer","maximum":55000,"minimum":1000,"description":"How long this call blocks, in milliseconds (max 55000). Defaults to the site policy timeout. Ordinary questions stay open until answered or cancelled. A timeout ends this poll only; follow up with wait_for_answer."},"toolUseId":{"type":"string","maxLength":200,"description":"MACHINE-POPULATED. The agent RUNTIME's own identifier for the tool call this approval gates, forwarded verbatim by a hook that received it. Do NOT invent, guess, derive, or reuse a value: two different questions sent under the same id collapse into one, and the second one never reaches a human. If you are a model deciding to call this tool, omit this field."},"actionBody":{"type":"string","maxLength":4000,"description":"The diff (Edit/Write) or full command (Bash/apply_patch), secret-redacted and size-capped. Rendered as a collapsible detail block; never used as the push body."},"toolTarget":{"type":"string","maxLength":80,"description":"Compact target of the tool call (e.g. the command head \"git push\" for Bash, or a file extension like \".ts\" for Edit/Write). Used to mine policy suggestions."},"waitEndsAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$","description":"MACHINE-POPULATED. When the agent hook stops waiting live and hands control back to the terminal. The question may remain answerable after this time. Ordinary callers should omit it."},"callbackUrl":{"type":"string","format":"uri","description":"Webhook URL that receives a POST with the answer when the user responds, signed with the X-Pushary-Signature header. Useful when the agent process may exit before the answer arrives."},"externalIds":{"type":"array","items":{"type":"string"},"description":"Deliver only to subscribers matching these external IDs."},"pausedAware":{"type":"boolean","description":"MACHINE-POPULATED. true from a hook that ends a paused approval exactly as the same approval unanswered after its full wait. Any other value is ignored. If you are a model deciding to call this tool, omit this field."},"placeholder":{"type":"string","maxLength":200,"description":"Hint text shown inside the free-text field for input questions"},"questionOwner":{"type":"object","properties":{},"description":"MACHINE-POPULATED. Ownership supplied by the supported personal Codex bridge. Models must omit this field.","additionalProperties":{}},"subscriberIds":{"type":"array","items":{"type":"string"},"description":"Deliver only to these subscriber IDs. Omit all targeting fields to reach every connected device."},"permissionMode":{"type":"string","maxLength":64,"description":"MACHINE-POPULATED. The agent runtime's own permission or approval mode for the tool call this approval gates, recorded with the decision. Any other value is ignored. If you are a model deciding to call this tool, omit this field."},"sessionToolAware":{"type":"boolean","description":"MACHINE-POPULATED. Set by a Pushary hook whose engine applies a session tool grant with its risky-command ceiling, so the grant is only offered where it takes effect. If you are a model deciding to call this tool, omit this field."},"localSurfaceAvailable":{"type":"boolean","description":"MACHINE-POPULATED. false from a hook that cannot show its own approval prompt for this call, so the phone is asked every time and never spared for presence at the keyboard. Any other value is ignored. If you are a model deciding to call this tool, omit this field."}}},"output_schema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["correlationId","question","type"],"properties":{"env":{"enum":["test"],"type":"string","description":"Echoed when the call was test traffic."},"held":{"enum":["test_traffic","unattributed"],"type":"string","description":"Present when the question was stored but deliberately not delivered: test traffic, or a permission ask with no toolName and no sessionId."},"hint":{"type":"string","description":"What to do next, when there is a next step."},"mode":{"enum":["notify_only","terminal_only"],"type":"string","description":"The site delivery mode that stopped this call from waiting."},"note":{"type":"string","description":"Free text the user added alongside their answer."},"type":{"enum":["confirm","select","input"],"type":"string","description":"The question type that was rendered."},"value":{"type":"string","description":"The user's answer: \"yes\" or \"no\" for confirm, the chosen option for select, the typed text for input."},"paused":{"type":"boolean","description":"True when nothing was sent because the last approvals in this session went unanswered. Withdraw the question, then end the call as it would end unanswered."},"status":{"enum":["answered","pending","cancelled","expired","missing","unavailable","notified","terminal","stopped"],"type":"string","description":"The question state. Only pending is a live unanswered wait; cancelled, expired, missing, and unavailable must not be described as timeouts."},"warning":{"type":"string","description":"Present only when no channel is connected, naming what the user has to connect."},"answered":{"type":"boolean","description":"True once the user responded. Absent on the wait:false path, where nothing was awaited."},"delivery":{"type":"object","required":["web","mobile"],"properties":{"web":{"type":"number","description":"Browsers the question reached."},"mobile":{"type":"number","description":"Phones the question reached."},"pending":{"type":"boolean","description":"True when delivery was still in flight when this returned, so the counts above are not final."}},"description":"Per-channel reach for the push carrying this question.","additionalProperties":false},"question":{"type":"string","description":"The question exactly as the user saw it."},"timedOut":{"type":"boolean","description":"True when the initial wait ended while the question was still live. Poll once with wait_for_answer, then follow handoffAction when present, otherwise nextAction."},"answerUrl":{"type":"string","description":"Optional signed-in dashboard page where the user can answer this question."},"noDevices":{"type":"boolean","description":"True when no phone, browser, or Slack channel could receive the question. Do not wait; follow handoffAction immediately."},"nextAction":{"enum":["wait_for_answer","ask_in_current_client"],"type":"string","description":"Backward-compatible next step: keep waiting while pending or ask in the current client. Follow handoffAction first when present."},"suppressed":{"type":"boolean","description":"True when the PHONE push was deliberately held because a terminal on this machine is active. It says nothing about the notch, the dashboard or Slack, which are unaffected and may still be showing this question. A caller with no screen of its own should treat it as the terminal's to answer; a caller that can render the question itself should keep waiting."},"waitEndsAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$","description":"When the agent hook stops waiting live. On an idempotent replay this is the original question's deadline, which the hook must reuse."},"answerSource":{"enum":["dashboard","mobile_app","mobile_background","decide_page","live_page","answer_link","inbox","slack","mac_app","sandbox"],"type":"string","description":"Recorded answering surface, when known. Missing provenance is not proof of a phone answer; sandbox is simulated."},"deliveryMode":{"enum":["push_first","push_only","notify_only","terminal_only"],"type":"string","description":"Effective delivery policy for this decision."},"correlationId":{"type":"string","description":"Id of the question that was created. Pass it to wait_for_answer to keep waiting, or to cancel_question to retract it."},"handoffAction":{"enum":["cancel_then_ask_in_current_client","stop"],"type":"string","description":"Race-safe directive for updated clients. Takes precedence over nextAction: cancel before asking in the current client, or stop the handoff."},"policyTimeoutMs":{"type":"number","minimum":0,"description":"Policy wait window in milliseconds. Callers must also honor their host deadline."},"expiresInSeconds":{"type":"number","description":"How long the question stays answerable."}},"additionalProperties":false},"annotations":{"readOnlyHint":false,"openWorldHint":true,"idempotentHint":false,"destructiveHint":true},"source":"probe","observed_at":"2026-10-19T21:08:17.397Z"},{"name":"cancel_question","title":"Cancel Pending Question","description":"Retract a pending question that is no longer needed or is moving to the current client. Returns cancelled:true only when a pending question was removed. False may mean it was already answered, expired, missing or unavailable. An unavailable state includes handoffAction:stop because cancellation could not safely inspect or fence the question. Does not retract an answer already recorded.","input_schema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["correlationId"],"properties":{"handoff":{"type":"boolean","description":"True when you are cancelling because you are about to ask the same question in the current client. For the next minute the Pushary hook then lets your own question tool through instead of sending it back to the phone. Set automatically whenever a live question is cancelled."},"correlationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"The correlationId of the pending question to cancel, as returned by ask_user or send_notification"}}},"output_schema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["cancelled","correlationId"],"properties":{"hint":{"type":"string","description":"What to do when cancellation could not safely inspect the question."},"status":{"type":"string","const":"unavailable","description":"Present when Pushary could not safely read or fence the question state."},"cancelled":{"type":"boolean","description":"True when a still-pending question was removed. False when it was already terminal, missing, or unavailable; inspect status and handoffAction when present."},"askHandoff":{"type":"boolean","description":"True when the session was marked as handing off to the current client, so the hook will not re-ask on the phone for the next minute."},"correlationId":{"type":"string","description":"The question this result refers to, echoed back."},"handoffAction":{"type":"string","const":"stop","description":"Stop rather than opening another answer surface when the question state is unavailable."}},"additionalProperties":false},"annotations":{"readOnlyHint":false,"openWorldHint":false,"idempotentHint":true,"destructiveHint":true},"source":"probe","observed_at":"2026-10-19T21:08:17.397Z"},{"name":"propose_scope","title":"Propose Run Scope","description":"Request agreement on an unresolved or user-requested boundary for this session. Sends a real scope question and returns ratified, answered, contract and enforcement information. Only supported hooks can enforce file paths on path-bearing tool calls; promises are recorded but not enforced. Empty enforces means no automatic boundary checking. A contract never overrides host permissions or authorizes a separate action. The call waits at most 55 seconds; a pending proposal can be read with wait_for_answer.","input_schema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["doneWhen","sessionId"],"properties":{"doneWhen":{"type":"string","maxLength":300,"minLength":1,"description":"What \"finished\" means for this run, one or two lines. Carried for the human to judge against; never enforced automatically."},"promises":{"type":"array","items":{"type":"string","maxLength":200,"minLength":1},"maxItems":10,"description":"Boundaries that are not file paths: recipients, channels, spend limits, systems you will not open. For an agent whose work is not code (marketing, sales, support, operations), this is where the boundary goes. Shown to the user labelled \"Promised, not checked\" and recorded in the ledger, but NEVER enforced, because the gate judges a file path and these have none. Do not put these in allowedPaths."},"agentName":{"type":"string","maxLength":100,"description":"Name of the agent asking, format \"{Agent} - {project}\"."},"machineId":{"type":"string","maxLength":128,"description":"Stable machine id, so two machines never collapse into one session."},"sessionId":{"type":"string","maxLength":128,"minLength":1,"description":"Your per-session id, as your client reports it for THIS run. Required, and it is the key the gate reads the contract back by: a value that matches no live session still returns ratified:true and enforces nothing. Never invent one, and never reuse one from another run."},"timeoutMs":{"type":"integer","maximum":55000,"minimum":1000,"description":"How long this call blocks, in milliseconds (max 55000)."},"allowedPaths":{"type":"array","items":{"type":"string","maxLength":200,"minLength":1},"maxItems":40,"description":"Globs you intend to change, e.g. [\"src/**\", \"docs/*.md\"]. File paths only: a word that is not a path (\"hubspot\", \"summer-campaign\") matches no file and makes every edit read as out of scope. A bare directory is expanded for you, so \"docs\" also covers \"docs/**\". Omit or leave empty to propose no path restriction, which the user is told plainly."},"offLimitsPaths":{"type":"array","items":{"type":"string","maxLength":200,"minLength":1},"maxItems":40,"description":"Globs you promise not to touch, e.g. [\".env*\", \"infra/**\"]. These win wherever they overlap allowedPaths. A leading \"**/\" needs a directory before it, so \"**/.env*\" is expanded for you to also cover a root \".env\"."}}},"output_schema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["correlationId","ratified","answered","enforces","contract"],"properties":{"note":{"type":"string","description":"Present only when the scope is not in force, saying what to do instead of proceeding."},"value":{"type":"string","description":"The raw answer behind ratified, \"yes\" or \"no\"."},"status":{"enum":["answered","pending","cancelled","expired","missing","unavailable","notified","terminal","stopped"],"type":"string","description":"The underlying scope-question state."},"answered":{"type":"boolean","description":"True when the user responded at all. Answered but not ratified means they declined, so ask what scope they want rather than proceeding."},"contract":{"type":"object","required":["allowedPaths","offLimitsPaths","doneWhen"],"properties":{"doneWhen":{"type":"string","description":"What finished means for this run, as the user saw it."},"promises":{"type":"array","items":{"type":"string"},"description":"Non-path boundaries as the user saw them. Recorded, never enforced."},"allowedPaths":{"type":"array","items":{"type":"string"},"description":"Globs the run may change, after expansion. Empty means no path restriction was proposed, which the user was told plainly."},"offLimitsPaths":{"type":"array","items":{"type":"string"},"description":"Globs the run promised not to touch, after expansion. These win wherever they overlap allowedPaths."}},"description":"The scope as it is STORED and gated, echoed back so you and the server hold the same contract. Paths are the EXPANDED ones: a bare directory and a leading \"**/\" each gain the variant they would otherwise have missed, so this can contain more entries than you sent. The user was shown the paths you sent, because the added twin says the same thing to a reader; the expansion only changes what the matcher covers, never what it means.","additionalProperties":false},"enforces":{"type":"array","items":{"enum":["paths"],"type":"string"},"description":"What this contract CONTAINS that can be checked, not a promise about what the gate on this machine will do. An EMPTY array means nothing here is checked automatically: the contract is a recorded promise, and every action stays governed by the permission policy exactly as it was before. Never tell the user a boundary is enforced when this is empty."},"hookSeen":{"type":"boolean","description":"Whether any agent hook has actually reported this sessionId. FALSE means the gate will look this contract up under a key that does not exist, so nothing will be checked no matter what ratified says: fix the session id rather than proceeding as if a scope were in force. ABSENT means the check could not run, which is not evidence either way."},"ratified":{"type":"boolean","description":"True only on an explicit yes. The contract is in force for this session only when this is true; anything else means proceed as if no scope was agreed."},"nextAction":{"enum":["wait_for_answer","ask_in_current_client"],"type":"string","description":"Keep waiting with the same correlationId while the proposal is pending. Follow handoffAction first when present; a poll ending does not expire or cancel the proposal."},"correlationId":{"type":"string","description":"Id of the scope question. Keep waiting with this id while the question is pending."},"handoffAction":{"enum":["cancel_then_ask_in_current_client","stop"],"type":"string","description":"Race-safe directive for updated clients. Takes precedence over nextAction."},"enforcementNote":{"type":"string","description":"Present only when there is something true to say about the limits of this contract. Repeat it to the user rather than paraphrasing it."}},"additionalProperties":false},"annotations":{"readOnlyHint":false,"openWorldHint":true,"idempotentHint":false,"destructiveHint":true},"source":"probe","observed_at":"2026-10-19T21:08:17.397Z"},{"name":"schedule_reminder","title":"Schedule a Personal Reminder","description":"Remind the authenticated user later: a timer, alarm, ping, or reminder delivered by Pushary even after the agent exits. One-time only; up to 30 days away, 25 pending per user/site. Provide body plus inMinutes or at with an explicit UTC offset. Use a unique requestId for each schedule and reuse it unchanged on retries. Use reminderId to retrieve the final outcome. Confirm the returned time and report any warning. Omit arguments to list pending reminders; use cancelReminderId to cancel a scheduled one. Never use ask_user for a reminder. Does not schedule agent work or customer campaigns. Respects stop/mute and active membership at delivery.","input_schema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{"at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$","description":"Future ISO 8601 timestamp with explicit UTC offset or Z, at most 30 days away. Resolve the user's local time and timezone before scheduling; never guess a timezone."},"env":{"type":"string","const":"test"},"body":{"type":"string","maxLength":180,"minLength":1,"description":"What to remind the authenticated user about, at most 180 UTF-16 units after secret redaction (emoji may use two). Omit all fields to list their pending reminders."},"title":{"type":"string","maxLength":100,"minLength":1},"agentName":{"type":"string","maxLength":100},"inMinutes":{"type":"integer","maximum":43200,"minimum":1,"description":"Minutes from the server clock; use for timers and relative reminders."},"machineId":{"type":"string","maxLength":128},"requestId":{"type":"string","maxLength":128,"minLength":1,"description":"Unique ID for this scheduling operation. Reuse it unchanged on retries to return the original reminder, including after it settles."},"sessionId":{"type":"string","maxLength":128},"reminderId":{"type":"string","maxLength":128,"minLength":1,"description":"Look up your reminder, including its final outcome and delivery status, instead of scheduling or cancelling."},"cancelReminderId":{"type":"string","maxLength":128,"minLength":1,"description":"Cancel this user's scheduled reminder instead of creating one. Already-dispatching reminders cannot be cancelled."}}},"output_schema":null,"annotations":{"readOnlyHint":false,"openWorldHint":true,"idempotentHint":false,"destructiveHint":true},"source":"probe","observed_at":"2026-10-19T21:08:17.397Z"},{"name":"send_notification","title":"Send Push Notification","description":"Send a one-way notification to connected devices for a requested update or a meaningful unattended result, such as a finished task. Use ask_user only when an answer is needed to continue. Delivery follows the account policy and optional recipient filters. context adds a detail page; context.askQuestion creates a linked decision. Returns web/mobile delivery counts and a warning when no delivery channel is connected. Sends real notifications.","input_schema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["title","body"],"properties":{"env":{"enum":["test"],"type":"string","description":"Set to \"test\" from a test suite. The notification is recorded in the activity feed and nothing is delivered to a phone or browser. The X-Pushary-Env: test header does the same for every call on the connection."},"url":{"type":"string","format":"uri","description":"URL opened when the user taps the notification. Ignored if context is provided, because a context detail page URL is generated automatically."},"body":{"type":"string","maxLength":500,"minLength":1,"description":"Notification body text (max 500 chars). One or two sentences the user can act on without opening anything."},"tags":{"type":"array","items":{"type":"string"},"description":"Deliver only to subscribers that have any of these tags."},"title":{"type":"string","maxLength":100,"minLength":1,"description":"Notification title shown on the lock screen (max 100 chars). Lead with the outcome, e.g. \"Build finished\" or \"Migration failed\"."},"context":{"type":"object","required":["type"],"properties":{"type":{"enum":["task_complete","error","info"],"type":"string","description":"What kind of update this is. Use \"task_complete\" when work finished, \"error\" when something failed (delivered with high urgency), \"info\" for everything else. Error severity describes this notification, not the agent session health."},"details":{"type":"array","items":{"type":"string"},"description":"Bullet-point details rendered as a list"},"summary":{"type":"string","description":"Short summary of what happened, shown at the top of the detail page"},"errorFile":{"type":"string","description":"File path where the error occurred"},"nextSteps":{"type":"string","description":"What the user should do next, e.g. \"Review the PR\" or \"Re-run with --force\""},"askQuestion":{"type":"object","required":["question"],"properties":{"type":{"enum":["confirm","select","input"],"type":"string","default":"confirm","description":"Question type: confirm (yes/no), select (pick from options), or input (free text)"},"options":{"type":"array","items":{"type":"string"},"maxItems":6,"minItems":2,"description":"The 2 to 6 choices for a select question"},"question":{"type":"string","maxLength":8000,"minLength":1,"description":"A follow-up question shown below the context (e.g. \"Retry with a different approach?\")"}},"description":"Embed a decision prompt on the detail page. The response includes a linkedCorrelationId; pass it to wait_for_answer to collect the answer. The embedded question expires 10 minutes after it is created. Only for a decision about unfinished work. Not for asking what to do next once the requested work is complete, unless the user asked you to."},"errorMessage":{"type":"string","description":"The error message, when type is \"error\""},"filesChanged":{"type":"array","items":{"type":"string"},"description":"Paths of files that were created or modified"}},"description":"Structured context rendered as a rich detail page when the user taps the notification. Strongly recommended for task_complete and error notifications so the user can act from their phone."},"iconUrl":{"type":"string","format":"uri","description":"URL of the notification icon image"},"imageUrl":{"type":"string","format":"uri","description":"URL of a large image shown in the notification"},"agentName":{"type":"string","maxLength":100,"description":"Name of the agent sending this notification, format \"{Agent} - {project}\" (e.g. \"Claude Code - myproject\"). Shown in the notification so the user knows which session is talking. Falls back to the MCP client name if omitted."},"machineId":{"type":"string","maxLength":128,"description":"Stable machine id of the sending agent, so two machines never collapse into one session."},"sessionId":{"type":"string","maxLength":128,"description":"Opaque per-session id of the sending agent, so parallel sessions are attributed separately in the activity feed."},"externalIds":{"type":"array","items":{"type":"string"},"description":"Deliver only to subscribers matching these external IDs."},"subscriberIds":{"type":"array","items":{"type":"string"},"description":"Deliver only to these subscriber IDs. Omit all targeting fields to reach every connected device."}}},"output_schema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{"env":{"enum":["test"],"type":"string","description":"Echoed when the call was test traffic."},"hint":{"type":"string","description":"What to do next, when there is a next step."},"sent":{"type":"number","description":"Total devices reached, web plus mobile. Zero is a successful call that found nobody to deliver to, not an error."},"warning":{"type":"string","description":"Present only when the notification reached zero devices, naming what the user has to connect."},"delivery":{"type":"object","required":["web","mobile"],"properties":{"web":{"type":"object","required":["recipients"],"properties":{"status":{"type":"string","description":"Why web delivery reached nobody, present only when it reached nobody."},"recipients":{"type":"number","description":"Browsers that accepted the push."}},"additionalProperties":false},"mobile":{"type":"object","required":["recipients"],"properties":{"status":{"type":"string","description":"Why mobile delivery reached nobody, present only when it reached nobody."},"recipients":{"type":"number","description":"Phones that accepted the push."}},"additionalProperties":false}},"description":"Per-channel outcome. The two channels are independent with no cross-fallback, so each reports its own result.","additionalProperties":false},"attribution":{"enum":["session","unattributed"],"type":"string","description":"Whether real session and machine identifiers were supplied. Unattributed notifications are delivered without creating a live session."},"notificationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Trace ID for this notification; provider acceptance does not confirm a person saw it."},"linkedCorrelationId":{"type":"string","description":"Present only when context.askQuestion embedded a decision prompt. Pass it to wait_for_answer to collect the response."}},"additionalProperties":false},"annotations":{"readOnlyHint":false,"openWorldHint":true,"idempotentHint":false,"destructiveHint":true},"source":"probe","observed_at":"2026-10-19T21:08:17.397Z"},{"name":"wait_for_answer","title":"Wait for User Answer","description":"Read the answer or current state of an existing question from ask_user or send_notification. Waits up to timeoutMs, capped at 55 seconds. Returns answered, the answer when available, status and handoff information. Only pending is a live unanswered question; cancelled, expired, missing and unavailable are terminal states. Does not send another question.","input_schema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["correlationId"],"properties":{"timeoutMs":{"type":"integer","maximum":55000,"minimum":1000,"description":"How long this one poll blocks, in milliseconds (default 30000, max 55000). Follow handoffAction when present, otherwise nextAction."},"correlationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"The correlationId from an earlier ask_user response, or the linkedCorrelationId from a send_notification with an embedded askQuestion"}}},"output_schema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["answered","status"],"properties":{"hint":{"type":"string","description":"What to do next, when there is a next step."},"note":{"type":"string","description":"Free text the user added alongside their answer."},"value":{"type":"string","description":"The user's answer: \"yes\" or \"no\" for confirm, the chosen option for select, the typed text for input. Present only when answered is true."},"status":{"enum":["answered","pending","cancelled","expired","missing","unavailable"],"type":"string","description":"The actual question state. Only pending is a live unanswered wait."},"answered":{"type":"boolean","description":"True once the user responded. False means follow handoffAction when present, otherwise nextAction; do not guess that every unanswered state is a timeout."},"nextAction":{"enum":["wait_for_answer","ask_in_current_client"],"type":"string","description":"Backward-compatible next step for older clients. Follow handoffAction first when present."},"answerSource":{"enum":["dashboard","mobile_app","mobile_background","decide_page","live_page","answer_link","inbox","slack","mac_app","sandbox"],"type":"string","description":"Recorded answering surface, when known. Missing provenance is not proof of a phone answer; sandbox is simulated."},"handoffAction":{"enum":["cancel_then_ask_in_current_client","stop"],"type":"string","description":"Race-safe directive for updated clients. Takes precedence over nextAction."}},"additionalProperties":false},"annotations":{"readOnlyHint":true,"openWorldHint":false,"idempotentHint":true,"destructiveHint":false},"source":"probe","observed_at":"2026-10-19T21:08:17.397Z"}],"next_cursor":null,"next_actions":[{"action":"get_connection","description":"Connection block to call these tools","href":"/v1/servers/io.github.Pushary%2Fpushary/connection?target=mcpServers","arguments":{"name":"io.github.Pushary/pushary","target":"mcpServers"}},{"action":"get_server","description":"Full descriptor with trust and connectability","href":"/v1/servers/io.github.Pushary%2Fpushary","arguments":{"name":"io.github.Pushary/pushary"}}]}