Read the logs from another repo
If a client sent send_input (or any tool) and the Crabigator session did not change,
compare the client's send log with what this server stored. Public recipe:
https://drinkcrabigator.com/mcp-tools#logs
1. What the client should log
On every POST https://drinkcrabigator.com/mcp JSON-RPC call, record:
JSON-RPC id, method (usually tools/call), params.name, and params.arguments.session_id
For send_input: text.length and the first 80 characters
HTTP status
Response headers X-Mcp-Request-Id, Server-Timing, and cf-ray
2. What the server stored
Call the get_mcp_logs tool on this same MCP server.
Each row is one request this account made. request_id is the
X-Mcp-Request-Id header. For typed input you also get text_len
and text_preview.
GET /mcp is the notification stream. It reconnects about every 25 seconds and is
not a tool call. get_mcp_logs hides those rows unless you pass include_sse: true.
3. How to read a mismatch
Client Server log Meaning
Sent tools/call
No matching request_id
The POST never reached Crabigator (wrong URL, auth failed, or the client never sent it).
Sent send_input
ok: false
The server got it and rejected it. Read error (often desktop offline or bad session id).
Sent send_input
ok: true
The server accepted it. If the terminal did not type, the desktop is not attached to that session.
Nothing sent
Only SSE GET rows
The client is idle on the notification stream. It is not calling tools.
A session moved to a new state: ready, thinking, permission, question, or complete.
Delivered as a signed webhook. Subscribe with events/subscribe. Filters narrow which sessions you hear about.
Filters
Name Type Description
session_id
string
Cloud session id. Omit to include every session on the account.
platform
string
Only sessions on this platform: claude, codex, grok, opencode, or antigravity.
cwd
string
Only sessions whose working directory is exactly this path.
state
"ready" | "thinking" | "permission" | "question" | "complete"
Only deliver when the session enters this state.
Event data
Name Type Description
session_idrequired
string
Cloud session id.
platform
string
claude, codex, grok, opencode, or antigravity.
cwd
string
Working directory.
title
string
Current session title.
url
string
Dashboard URL for this session.
previous_staterequired
"ready" | "thinking" | "permission" | "question" | "complete"
State before this change.
staterequired
"ready" | "thinking" | "permission" | "question" | "complete"
State after this change.
device_name
string
Name of the computer running the session.
A session is showing a question, a permission prompt, or an exit-plan prompt.
Delivered as a signed webhook. Subscribe with events/subscribe. Filters narrow which sessions you hear about.
Filters
Name Type Description
session_id
string
Cloud session id. Omit to include every session on the account.
platform
string
Only sessions on this platform: claude, codex, grok, opencode, or antigravity.
cwd
string
Only sessions whose working directory is exactly this path.
prompt_type
"question" | "permission" | "exit_plan"
Only deliver this kind of prompt.
Event data
Name Type Description
session_idrequired
string
Cloud session id.
platform
string
claude, codex, grok, opencode, or antigravity.
cwd
string
Working directory.
title
string
Current session title.
url
string
Dashboard URL for this session.
prompt_typerequired
"question" | "permission" | "exit_plan"
summaryrequired
string
The question text, or the tool name for a permission prompt.
tool_name
string
Tool waiting for permission.
options
array
questions
array
A session finished a turn and stored a recap.
Delivered as a signed webhook. Subscribe with events/subscribe. Filters narrow which sessions you hear about.
Filters
Name Type Description
session_id
string
Cloud session id. Omit to include every session on the account.
platform
string
Only sessions on this platform: claude, codex, grok, opencode, or antigravity.
cwd
string
Only sessions whose working directory is exactly this path.
Event data
Name Type Description
session_idrequired
string
Cloud session id.
platform
string
claude, codex, grok, opencode, or antigravity.
cwd
string
Working directory.
title
string
Current session title.
url
string
Dashboard URL for this session.
headlinerequired
string
bulletsrequired
array
additions
number
deletions
number
A session title changed.
Delivered as a signed webhook. Subscribe with events/subscribe. Filters narrow which sessions you hear about.
Filters
Name Type Description
session_id
string
Cloud session id. Omit to include every session on the account.
platform
string
Only sessions on this platform: claude, codex, grok, opencode, or antigravity.
cwd
string
Only sessions whose working directory is exactly this path.
Event data
Name Type Description
session_idrequired
string
Cloud session id.
platform
string
claude, codex, grok, opencode, or antigravity.
cwd
string
Working directory.
titlerequired
string
Current session title.
url
string
Dashboard URL for this session.
previous_titlerequired
string
The pull requests a session is tracking changed.
Delivered as a signed webhook. Subscribe with events/subscribe. Filters narrow which sessions you hear about.
Filters
Name Type Description
session_id
string
Cloud session id. Omit to include every session on the account.
platform
string
Only sessions on this platform: claude, codex, grok, opencode, or antigravity.
cwd
string
Only sessions whose working directory is exactly this path.
Event data
Name Type Description
session_idrequired
string
Cloud session id.
platform
string
claude, codex, grok, opencode, or antigravity.
cwd
string
Working directory.
title
string
Current session title.
url
string
Dashboard URL for this session.
prsrequired
array
A session recorded a new git commit.
Delivered as a signed webhook. Subscribe with events/subscribe. Filters narrow which sessions you hear about.
Filters
Name Type Description
session_id
string
Cloud session id. Omit to include every session on the account.
platform
string
Only sessions on this platform: claude, codex, grok, opencode, or antigravity.
cwd
string
Only sessions whose working directory is exactly this path.
Event data
Name Type Description
session_idrequired
string
Cloud session id.
platform
string
claude, codex, grok, opencode, or antigravity.
cwd
string
Working directory.
title
string
Current session title.
url
string
Dashboard URL for this session.
hashrequired
string
short_hashrequired
string
subjectrequired
string
committed_atrequired
string
When the commit was created, as ISO 8601.
The desktop attached its live stream for a session. This includes reconnects after a dropped connection.
Delivered as a signed webhook. Subscribe with events/subscribe. Filters narrow which sessions you hear about.
Filters
Name Type Description
session_id
string
Cloud session id. Omit to include every session on the account.
platform
string
Only sessions on this platform: claude, codex, grok, opencode, or antigravity.
cwd
string
Only sessions whose working directory is exactly this path.
Event data
Name Type Description
session_idrequired
string
Cloud session id.
platform
string
claude, codex, grok, opencode, or antigravity.
cwd
string
Working directory.
title
string
Current session title.
url
string
Dashboard URL for this session.
staterequired
"ready" | "thinking" | "permission" | "question" | "complete"
device_name
string
A session ended after the desktop stayed disconnected.
Delivered as a signed webhook. Subscribe with events/subscribe. Filters narrow which sessions you hear about.
Filters
Name Type Description
session_id
string
Cloud session id. Omit to include every session on the account.
platform
string
Only sessions on this platform: claude, codex, grok, opencode, or antigravity.
cwd
string
Only sessions whose working directory is exactly this path.
Event data
Name Type Description
session_idrequired
string
Cloud session id.
platform
string
claude, codex, grok, opencode, or antigravity.
cwd
string
Working directory.
title
string
Current session title.
url
string
Dashboard URL for this session.
staterequired
"ready" | "thinking" | "permission" | "question" | "complete"
ended_atrequired
string
When the session ended, as ISO 8601.
device_name
string
List live Crabigator sessions for this account. Each session includes its identity chip (glyph + colors), title, and PRs — the same fields the PR board uses. Use needs_attention to find question or permission prompts.
Omit filters to list every live session. needs_attention keeps only question and permission.
Arguments
Name Type Description
needs_attention
boolean
Only sessions in question or permission
state
string
ready, thinking, permission, question, or complete
cwd
string
Exact working directory
platform
string
claude, codex, grok, opencode, or antigravity
Example call
Copy
{
"name" : "list_sessions" ,
"arguments" : {
"needs_attention" : true
}
}
Example output
Copy
{
"sessions" : [
{
"id" : "7f3c1a90-2b4e-4d11-9c8a-1e6b0d4f2a18" ,
"cwd" : "/Users/sclay/projects/api" ,
"platform" : "claude" ,
"state" : "permission" ,
"started_at" : 1740000000 ,
"last_activity_at" : 1740000120 ,
"device_id" : "44444444-4444-4444-8444-444444441111" ,
"device_name" : "MacBook Pro" ,
"group_id" : "grp_01h8k2" ,
"title" : "Add lodash and keep going" ,
"session_mark" : {
"glyph" : "⊏◆⊐" ,
"fg" : [
94 ,
240 ,
255
],
"bg" : [
0 ,
24 ,
72
],
"fg_hex" : "#5ef0ff" ,
"bg_hex" : "#001848"
},
"prs" : [
{
"owner" : "samuelclay" ,
"repo" : "crabigator" ,
"number" : 412 ,
"url" : "https://github.com/samuelclay/crabigator/pull/412" ,
"state" : "OPEN" ,
"primary" : true ,
"title" : "Rewrite the viewer socket handshake" ,
"branch" : "viewer-socket" ,
"additions" : 214 ,
"deletions" : 61
}
],
"stats" : {
"prompts" : 7 ,
"completions" : 6 ,
"tool_calls" : 42 ,
"thinking_seconds" : 380
}
}
]
}
Snapshot of one session: identity chip (glyph + colors), title, PRs, recap, git, stats, prompt. Does not include the full screen.
Drops the full screen and scrollback. Use get_screen or get_scrollback for those.
Arguments
Name Type Description
session_idrequired
string
Cloud session id
Example call
Copy
{
"name" : "get_session" ,
"arguments" : {
"session_id" : "7f3c1a90-2b4e-4d11-9c8a-1e6b0d4f2a18"
}
}
Example output
Copy
{
"id" : "7f3c1a90-2b4e-4d11-9c8a-1e6b0d4f2a18" ,
"cwd" : "/Users/sclay/projects/api" ,
"platform" : "claude" ,
"started_at" : 1740000000 ,
"desktop_connected" : true ,
"state" : "permission" ,
"title" : "Add lodash and keep going" ,
"session_mark" : {
"glyph" : "⊏◆⊐" ,
"fg" : [
94 ,
240 ,
255
],
"bg" : [
0 ,
24 ,
72
],
"fg_hex" : "#5ef0ff" ,
"bg_hex" : "#001848"
},
"prompt" : {
"prompt_type" : "permission" ,
"tool_name" : "Bash" ,
"tool_input" : {
"command" : "pnpm install lodash"
},
"options" : [
{
"label" : "Yes, allow this" ,
"value" : "1"
},
{
"label" : "Yes, don't ask again" ,
"value" : "2"
},
{
"label" : "No, deny this" ,
"value" : "3"
}
],
"allows_tab_instructions" : true ,
"selected_option" : 1
},
"recap" : {
"status" : "ready" ,
"latest" : {
"prompt_count" : 7 ,
"generated_at" : 1740000100 ,
"variant" : "brief" ,
"headline" : "Installing lodash after the auth refactor" ,
"bullets" : [
"Rewrote handleViewerSocket to drop stale sockets" ,
"Asked to install lodash for the new parser"
],
"next_prompt_notes" : [
"Approve the install, then run the tests"
],
"artifacts" : [],
"line_delta" : {
"additions" : 87 ,
"deletions" : 42
}
}
},
"prs" : [
{
"owner" : "samuelclay" ,
"repo" : "crabigator" ,
"number" : 412 ,
"url" : "https://github.com/samuelclay/crabigator/pull/412" ,
"title" : "Rewrite the viewer socket handshake" ,
"state" : "OPEN" ,
"branch" : "viewer-socket" ,
"primary" : true
}
],
"git" : {
"type" : "git" ,
"repo_owner" : "samuelclay" ,
"repo_name" : "crabigator" ,
"branch" : "viewer-socket" ,
"files" : [
{
"path" : "src/app.rs" ,
"status" : "M " ,
"additions" : 87 ,
"deletions" : 42
},
{
"path" : "src/ui.rs" ,
"status" : "M " ,
"additions" : 34 ,
"deletions" : 12
}
]
},
"stats" : {
"type" : "stats" ,
"prompts" : 7 ,
"completions" : 6 ,
"tools" : 42 ,
"compressions" : 1 ,
"thinking_seconds" : 380 ,
"work_seconds" : 754 ,
"model" : "claude-opus-4-5-20251101"
},
"draft" : "" ,
"has_screen" : true ,
"scrollback_preview" : "Allow Bash to run `pnpm install lodash`?\n 1. Yes, allow this\n 2. Yes, don't ask again\n 3. No, deny this" ,
"hibernated_ephemeral" : false
}
Current terminal screen. Default format is plain text; pass format=ansi for escape codes.
Pass format=ansi to keep escape codes.
Arguments
Name Type Description
session_idrequired
string
Cloud session id
format
"text" | "ansi"
Plain text (default) or raw ANSI
Example call
Copy
{
"name" : "get_screen" ,
"arguments" : {
"session_id" : "7f3c1a90-2b4e-4d11-9c8a-1e6b0d4f2a18" ,
"format" : "text"
}
}
Example output
Copy
{
"session_id" : "7f3c1a90-2b4e-4d11-9c8a-1e6b0d4f2a18" ,
"desktop_connected" : true ,
"hibernated_ephemeral" : false ,
"format" : "text" ,
"screen" : " Claude Code\n\n Allow Bash to run `pnpm install lodash`?\n 1. Yes, allow this\n 2. Yes, don't ask again\n 3. No, deny this\n\n Tab to add instructions"
}
Accumulated session scrollback. Optional tail and substring query.
query keeps matching lines. tail keeps the last N lines after that filter.
Arguments
Name Type Description
session_idrequired
string
Cloud session id
tail
number
Keep only the last N lines
query
string
Keep lines that contain this text (min 3 characters)
format
"text" | "ansi"
Plain text (default) or raw ANSI
Example call
Copy
{
"name" : "get_scrollback" ,
"arguments" : {
"session_id" : "7f3c1a90-2b4e-4d11-9c8a-1e6b0d4f2a18" ,
"tail" : 8 ,
"query" : "lodash"
}
}
Example output
Copy
{
"session_id" : "7f3c1a90-2b4e-4d11-9c8a-1e6b0d4f2a18" ,
"desktop_connected" : true ,
"hibernated_ephemeral" : false ,
"content" : "❯ add lodash for the parser\n Allow Bash to run `pnpm install lodash`?\n 1. Yes, allow this"
}
Search live session scrollback across the account. Query must be at least 3 characters.
The query must be at least 3 characters. Only live sessions hold scrollback.
Arguments
Name Type Description
queryrequired
string
Search text, at least 3 characters
Example call
Copy
{
"name" : "search_transcripts" ,
"arguments" : {
"query" : "lodash"
}
}
Example output
Copy
{
"results" : [
{
"session_id" : "7f3c1a90-2b4e-4d11-9c8a-1e6b0d4f2a18" ,
"total" : 3 ,
"collapsed" : "Allow Bash to run `pnpm install lodash`?" ,
"rows" : [
{
"text" : "❯ add lodash for the parser" ,
"is_match" : true ,
"gap_before" : false
},
{
"text" : " Allow Bash to run `pnpm install lodash`?" ,
"is_match" : true ,
"gap_before" : false
}
]
}
]
}
Distinct project directories this account has used recently.
Projects from the last 14 days, minus any you hid.
Arguments
No arguments.
Example call
Copy
{
"name" : "list_projects" ,
"arguments" : {}
}
Example output
Copy
{
"projects" : [
{
"cwd" : "/Users/sclay/projects/crabigator" ,
"last_active" : 1740001000 ,
"total_sessions" : 12
},
{
"cwd" : "/Users/sclay/projects/api" ,
"last_active" : 1739920000 ,
"total_sessions" : 4
}
]
}
Cross-session PR board for this account, same payload as the website: PRs, per-session titles, recaps, git, Slack, and identity chips (glyph + colors). Enough to recreate the board.
Same payload the website PR board uses. days defaults to 1.
Arguments
Name Type Description
days
number
Look back this many days. Default 1.
Example call
Copy
{
"name" : "get_pr_board" ,
"arguments" : {
"days" : 1
}
}
Example output
Copy
{
"prs" : [
{
"owner" : "samuelclay" ,
"repo" : "crabigator" ,
"number" : 412 ,
"updated_at" : 1740001000 ,
"pr" : {
"number" : 412 ,
"owner" : "samuelclay" ,
"repo" : "crabigator" ,
"url" : "https://github.com/samuelclay/crabigator/pull/412" ,
"title" : "Rewrite the viewer socket handshake" ,
"state" : "OPEN" ,
"branch" : "viewer-socket" ,
"is_draft" : false ,
"additions" : 214 ,
"deletions" : 61 ,
"primary" : true
},
"sessions" : [
{
"session_id" : "7f3c1a90-2b4e-4d11-9c8a-1e6b0d4f2a18" ,
"platform" : "claude" ,
"dir_name" : "api" ,
"branch" : "viewer-socket" ,
"state" : "permission" ,
"title" : "Add lodash and keep going" ,
"session_mark" : {
"glyph" : "⊏◆⊐" ,
"fg" : [
94 ,
240 ,
255
],
"bg" : [
0 ,
24 ,
72
],
"fg_hex" : "#5ef0ff" ,
"bg_hex" : "#001848"
},
"recap" : {
"headline" : "Installing lodash after the auth refactor" ,
"bullets" : [
"Asked to install lodash for the new parser"
]
}
}
]
}
],
"sessions" : [
{
"session_id" : "7f3c1a90-2b4e-4d11-9c8a-1e6b0d4f2a18" ,
"platform" : "claude" ,
"dir_name" : "api" ,
"state" : "permission" ,
"title" : "Add lodash and keep going"
}
],
"slack" : []
}
Recent MCP requests this account sent to Crabigator. Use this from another repo or client to see whether a send_input (or any tool) reached the server. Matches X-Mcp-Request-Id. SSE reconnects are hidden unless include_sse is true.
Only this account’s calls. Hide SSE reconnects unless include_sse is true. Match request_id to the X-Mcp-Request-Id response header.
Arguments
Name Type Description
limit
number
How many rows to return. Default 50, max 100.
include_sse
boolean
Include GET /mcp notification streams. Default false.
session_id
string
Only rows for this cloud session id
tool
string
Only this tool name, e.g. send_input
Example call
Copy
{
"name" : "get_mcp_logs" ,
"arguments" : {
"limit" : 5 ,
"tool" : "send_input"
}
}
Example output
Copy
{
"calls" : [
{
"ts" : 1740000120000 ,
"request_id" : "a1b2c3d4" ,
"method" : "tools/call" ,
"tool" : "send_input" ,
"session_id" : "7f3c1a90-2b4e-4d11-9c8a-1e6b0d4f2a18" ,
"text_len" : 41 ,
"text_preview" : "approve the install, then run make test" ,
"ms" : 48 ,
"ok" : true ,
"spans" : [
{
"name" : "auth" ,
"ms" : 12
},
{
"name" : "session_fetch /answer" ,
"ms" : 31
},
{
"name" : "tool:send_input" ,
"ms" : 33
}
]
}
]
}
Unsent input text saved for a session.
Arguments
Name Type Description
session_idrequired
string
Cloud session id
Example call
Copy
{
"name" : "get_draft" ,
"arguments" : {
"session_id" : "7f3c1a90-2b4e-4d11-9c8a-1e6b0d4f2a18"
}
}
Example output
Copy
{
"text" : "also run the tests after the install"
}
Wait until a session is in question or permission state, or until timeout_seconds (default 20, max 25).
Waits until a session is in question or permission. Default 20 seconds, max 25. timed_out is true when nothing needs you.
Arguments
Name Type Description
timeout_seconds
number
Seconds to wait. Default 20, max 25.
Example call
Copy
{
"name" : "wait_for_attention" ,
"arguments" : {
"timeout_seconds" : 20
}
}
Example output
Copy
{
"timed_out" : false ,
"sessions" : [
{
"id" : "7f3c1a90-2b4e-4d11-9c8a-1e6b0d4f2a18" ,
"cwd" : "/Users/sclay/projects/api" ,
"platform" : "claude" ,
"state" : "permission" ,
"started_at" : 1740000000 ,
"last_activity_at" : 1740000120 ,
"device_id" : "44444444-4444-4444-8444-444444441111" ,
"device_name" : "MacBook Pro" ,
"group_id" : "grp_01h8k2" ,
"title" : "Add lodash and keep going" ,
"session_mark" : {
"glyph" : "⊏◆⊐" ,
"fg" : [
94 ,
240 ,
255
],
"bg" : [
0 ,
24 ,
72
],
"fg_hex" : "#5ef0ff" ,
"bg_hex" : "#001848"
},
"prs" : [
{
"owner" : "samuelclay" ,
"repo" : "crabigator" ,
"number" : 412 ,
"url" : "https://github.com/samuelclay/crabigator/pull/412" ,
"state" : "OPEN" ,
"primary" : true ,
"title" : "Rewrite the viewer socket handshake" ,
"branch" : "viewer-socket" ,
"additions" : 214 ,
"deletions" : 61
}
],
"stats" : {
"prompts" : 7 ,
"completions" : 6 ,
"tool_calls" : 42 ,
"thinking_seconds" : 380
}
}
]
}
Type text into the session and press Enter. Same as the dashboard message box.
Types the text and presses Enter, same as the dashboard message box.
Arguments
Name Type Description
session_idrequired
string
Cloud session id
textrequired
string
Text to type, then Enter
Example call
Copy
{
"name" : "send_input" ,
"arguments" : {
"session_id" : "7f3c1a90-2b4e-4d11-9c8a-1e6b0d4f2a18" ,
"text" : "approve the install, then run make test"
}
}
Example output
Choose a permission or question option by its value (usually "1", "2", ...). Optional instructions use the Tab-instructions path.
value is usually "1", "2", … from the prompt. Pass instructions to type Tab-instructions first.
Arguments
Name Type Description
session_idrequired
string
Cloud session id
valuerequired
string
Option value, usually "1", "2", …
instructions
string
Optional Tab-instructions before confirming
Example call
Copy
{
"name" : "choose_option" ,
"arguments" : {
"session_id" : "7f3c1a90-2b4e-4d11-9c8a-1e6b0d4f2a18" ,
"value" : "1"
}
}
Example output
Send a named key (shift_tab, escape, tab, enter, up, down, option_up, ctrl_c) or a key-sequence of steps. option_up is the Codex pending-questions shortcut.
Named keys: shift_tab, escape, tab, enter, up, down, option_up, ctrl_c. option_up opens Codex pending questions. Or pass steps for a sequence.
Arguments
Name Type Description
session_idrequired
string
Cloud session id
key
string
Named key: shift_tab, escape, tab, enter, up, down, option_up, ctrl_c. option_up opens Codex pending questions.
steps
array
Key sequence of { type: "key"|"text", key?, text? } steps
Example call
Copy
{
"name" : "send_keys" ,
"arguments" : {
"session_id" : "7f3c1a90-2b4e-4d11-9c8a-1e6b0d4f2a18" ,
"key" : "shift_tab"
}
}
Example output
Save unsent input text for a session without submitting it.
Saves unsent input without submitting it.
Arguments
Name Type Description
session_idrequired
string
Cloud session id
textrequired
string
Unsent input to save
Example call
Copy
{
"name" : "set_draft" ,
"arguments" : {
"session_id" : "7f3c1a90-2b4e-4d11-9c8a-1e6b0d4f2a18" ,
"text" : "also run the tests after the install"
}
}
Example output
Ask a live desktop to open a new Claude, Codex, opencode, Grok, or Antigravity session in cwd. Ghostty opens a tab in an existing window.
Asks a live desktop to open a new session. Ghostty opens a tab in an existing window. If none is connected, returns { ok: false, fallback: "url_scheme", url: "crabigator://spawn?cwd=..." }.
Arguments
Name Type Description
cwdrequired
string
Working directory for the new session
platform
string
claude, codex, grok, opencode, or antigravity
Example call
Copy
{
"name" : "spawn_session" ,
"arguments" : {
"cwd" : "/Users/sclay/projects/api" ,
"platform" : "claude"
}
}
Example output
Hide a project directory from the dashboard project list.
Hides the directory from the dashboard project list for 30 days.
Arguments
Name Type Description
cwdrequired
string
Project directory to hide
Example call
Copy
{
"name" : "hide_project" ,
"arguments" : {
"cwd" : "/Users/sclay/projects/old-app"
}
}
Example output
Transcribe base64 audio with Whisper. Returns text; call send_input to submit it.
Saves the transcript to the account voice history and returns it. Call send_input to submit it.
Arguments
Name Type Description
audio_base64required
string
Audio bytes, base64-encoded
mime_type
string
Audio MIME type. Default audio/webm.
filename
string
Original filename
Example call
Copy
{
"name" : "transcribe_audio" ,
"arguments" : {
"audio_base64" : "UklGRiQAAABXQVZFZm10IBAAAAABAAEAESsAAAB3AQACABAAZGF0YQAAAAA=" ,
"mime_type" : "audio/webm" ,
"filename" : "prompt.webm"
}
}
Example output
Copy
{
"text" : "approve the install and keep going" ,
"id" : "5b0c6f1e-8a52-4a0e-9d0b-1f2f6f0c9a11" ,
"audio_seconds" : 2.4
}
Add a PR to the account watch list. Pass remove=true to unwatch.
Pass remove=true to unwatch, or use unwatch_pr.
Arguments
Name Type Description
ownerrequired
string
GitHub owner
reporequired
string
Repository name
numberrequired
number
Pull request number
url
string
Optional GitHub PR URL
remove
boolean
Set true to unwatch
Example call
Copy
{
"name" : "watch_pr" ,
"arguments" : {
"owner" : "samuelclay" ,
"repo" : "crabigator" ,
"number" : 412 ,
"url" : "https://github.com/samuelclay/crabigator/pull/412"
}
}
Example output
Remove a PR from the account watch list.
Arguments
Name Type Description
ownerrequired
string
GitHub owner
reporequired
string
Repository name
numberrequired
number
Pull request number
Example call
Copy
{
"name" : "unwatch_pr" ,
"arguments" : {
"owner" : "samuelclay" ,
"repo" : "crabigator" ,
"number" : 412
}
}
Example output
Promote, demote, dismiss, or reset a PR. disposition is primary, secondary, dismissed, or auto. Optional scope: session:<id> or path:<cwd>.
disposition is primary, secondary, dismissed, or auto. scope is session:<id> or path:<cwd>.
Arguments
Name Type Description
ownerrequired
string
GitHub owner
reporequired
string
Repository name
numberrequired
number
Pull request number
dispositionrequired
string
primary, secondary, dismissed, or auto
scope
string
session:<id> or path:<cwd>. Empty applies group-wide.
Example call
Copy
{
"name" : "set_pr_disposition" ,
"arguments" : {
"owner" : "samuelclay" ,
"repo" : "crabigator" ,
"number" : 412 ,
"disposition" : "primary" ,
"scope" : "session:7f3c1a90-2b4e-4d11-9c8a-1e6b0d4f2a18"
}
}
Example output