activity
Find recent operations or look up existing 32/48-character hex request, pending, or session IDs, then identify the ID kind and select the next read tool without waiting.
Instructions
Use to find recent operations, identify a labelled ID kind, and choose the next read tool; returns without waiting. Use recent with no ID, or lookup with an existing 32/48-lowercase-hex request_id, pending_id or session_id; legacy IDs, input_id, OGF identities, Codex job IDs and wire IDs are excluded. This bounded current-process view cannot establish complete history or exact OS execution times; follow the returned next_tool and next_args for further observation.
Read-only, no Owner window. Resolve existing labelled IDs or list the newest admissions in this current execution process (Broker lifetime in Broker mode), not prior journals, archives or arbitrary tool-call history. recent: id=null, strict integer limit 1..20 (default 10). lookup: id is exactly 32/48 lowercase hex, limit=10; no normalization, coercion, bool, extras or explicit null mode/limit. Legacy IDs, input_id, OGF identities, Codex job IDs and wire IDs are excluded. Window: 512 operations, one hour; empty/truncated results are bounded coverage, never complete history. Reply keys: status, mode, scope, query_id, id_kind, records, count, truncated, error, next_tool, next_args, required_action, auto_retry=false. Records contain only operation_type; request_id/pending_id/session_id; state/review_state/job_state/state_source; created_at/updated_at/finished_at (UTC RFC 3339 or null), time_basis=PRODUCER_EVENT; and route/action fields. Producer times are not exact OS execution times. Current job state wins; stored review/launch state stays separate; input/edit state is its own. Retired/cache-only source gives OUTCOME_UNKNOWN; collisions AMBIGUOUS; malformed data ERROR, missing Broker UNAVAILABLE, unconfirmed wire reply OUTCOME_UNKNOWN. Maximum 20 records / 32768 UTF-8 JSON bytes. Use labelled IDs with the returned existing read tool: request_status with request_id, review_status with command/input pending_id when registered, edit_review_status with edit/create pending_id when registered, list_sessions or recovery_overview with no args. recovery_overview is suggested separately, never called here; private archive access retains its existing Owner-verification boundary. PENDING is an observation, not approval expiry. UNKNOWN does not prove nonexecution. Keep the original IDs; never resubmit, replay, approve, clear, or generate replacement IDs. Uncertain outcomes require manual reconciliation; report failures and wait.
TIMED_OUT is terminal and routes to REPORT_AND_WAIT with no next tool; report and wait for the Owner's next instruction, never resubmit.
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": "activity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Null for recent; required for lookup: exactly 32 or 48 lowercase hex, without normalization. Legacy internal IDs, input_id, OGF identities, Codex job IDs and wire IDs are excluded. Keep the original IDs. request_status takes request_id; review_status takes command/input pending_id; edit_review_status takes edit/create pending_id only when registered. list_sessions and recovery_overview take no IDs. recovery_overview is a separate read and retains its Owner-verified private archive boundary; activity never calls it. | |
| mode | No | Read-only, no Owner window. recent (default): newest admissions in the bounded 512-operation, one-hour current execution process window, not complete history. lookup: resolve labelled request_id/pending_id/session_id by membership. States separate stored review/launch from current job; producer UTC RFC 3339 times are not OS execution times. PENDING is an observation, not approval expiry. UNKNOWN does not prove nonexecution. Use returned existing read tool; never resubmit/replay/approve/clear or generate replacement IDs. Uncertainty requires manual reconciliation; report failures and wait. TIMED_OUT (EXPIRED/CLOSED) is terminal: REPORT_AND_WAIT; never resubmit or ask for the window again. See tool help for outcome handling. | recent |
| limit | No | Strict integer 1..20 for recent, default 10; lookup requires 10. No coercion, bool, null, extras or invalid mode combinations. Reply: status/mode/scope/query_id/id_kind/records/count/truncated/error/next_tool/next_args/required_action/auto_retry. Each record: operation_type, labelled request_id/pending_id/session_id, state/review_state/job_state/state_source, created_at/updated_at/finished_at, time_basis=PRODUCER_EVENT and route/action/auto_retry=false. At most 20 rows and 32768 UTF-8 JSON bytes. No retained rows does not mean no operations. Cached expired sources give OUTCOME_UNKNOWN; collisions AMBIGUOUS. Failures require report and wait; no automatic retry. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||