Skip to content

Engagement management

Generated from artex-cc tools --json. Descriptions and parameters come from the tool definitions.

Create a new pentest engagement (task + exploration graph).

Parameter Type Required Description
goal string yes High-level goal for the engagement
description string no Detailed description of the engagement scope

Returns: {task_id, exploration_id}.

Read-only.

List all pentest engagements with summary stats (goal, status, node/finding/asset counts).

No parameters.

Returns: Array of engagement summaries, each with id, goal, description, status, exploration_id, created_at, node_count, finding_count, asset_count, goals_met, and active flag.

Read-only.

Get the status of an engagement: goal, status, finding count, and coverage summary.

Parameter Type Required Description
task_id integer no Task id (defaults to current engagement)

Returns: {task_id, exploration_id, goal, status, findings_total, facts_total, frontier_open, done_intents, coverage?}.

Mark the entire engagement as complete. Call this when all goals have been proved and the engagement is finished. Sets the task status to done. Provide an optional summary of what was accomplished.

Parameter Type Required Description
summary string no Optional summary of what was accomplished

Returns: "engagement <id> marked complete" with optional summary.

Update the current engagement’s goal or description.

Parameter Type Required Description
description string no New description for the engagement
goal string no New goal for the engagement

Returns: "engagement <id> updated: <fields>".

Delete an engagement and all its data (nodes, edges, findings, credentials, coverage, assets, constraints). This is irreversible. Both task_id and confirm=true are required.

Parameter Type Required Description
confirm boolean yes Must be true to confirm deletion
task_id integer yes Task id of the engagement to delete

Returns: "engagement <id> deleted".

Read-only.

Show recent activity in the current engagement as a timeline of findings, assets, and graph nodes.

Parameter Type Required Description
limit integer no Maximum number of entries to return (default 20)

Returns: Timeline of "<timestamp> - <kind>: <summary>" entries.

Read-only.

Identify testing gaps in the current engagement: assets never targeted by an intent, intents with no recorded facts, goals not yet proven, and service ports discovered but not enriched.

No parameters.

Returns: JSON object with gap categories and their entries.

Read-only.

List all active MCP client sessions connected to this server.

No parameters.

Returns: {count, sessions: [{id, created_at, last_active, context}, ...]}.

Switch to a different engagement without restarting the server. All tools will be re-registered to operate on the new engagement.

Parameter Type Required Description
task_id integer yes Task id of the engagement to switch to

Returns: "switched to engagement <id> (exploration <id>): <goal>".