Skip to content

Tasks & Responses

Issue commands to agents, read output, wait for completion, OPSEC bypass.

Auto-generated

This page is generated from source code by the schema extractor. Do not edit by hand — changes will be overwritten.


mythic_issue_task

Issue a task/command to a callback (agent). Executes agent-side commands (commands compiled into the agent binary). For server-side script_only commands (e.g. forge_collections, forge_download), use mythic_issue_script_only_task instead. To issue a command from a different payload type than the callback's native type, set the payload_type parameter explicitly.

Parameters

Parameter Type Required Description
callback_id int required Callback display_id (the number shown in the Mythic UI). Get this from mythic_get_callbacks or mythic_get_active_callbacks display_id field. Do NOT use the internal database id.
command string required Command name to execute. Use mythic_get_loaded_commands to see available commands for a callback
params string required Command parameters. Format depends on the command: (1) JSON object for multi-parameter commands: {\
payload_type string optional Optional: payload type name for cross-type tasking (e.g. 'forge' when issuing a forge command to a xenon callback). If omitted

mythic_issue_script_only_task

Issue a script_only command to a callback. Script_only commands run server-side (NOT on the agent) and are typically from a different payload type (e.g. forge commands loaded in a xenon callback). The payload type is auto-discovered from the callback's loaded commands. Use mythic_get_loaded_commands to see which script_only commands are available (look for script_only: true in the response).

Parameters

Parameter Type Required Description
callback_id int required Callback display_id (the number shown in the Mythic UI). Get this from mythic_get_callbacks or mythic_get_active_callbacks display_id field. Do NOT use the internal database id.
command string required Script-only command name to execute (e.g. forge_collections
params string optional Command parameters as JSON object or plain string. Example JSON: {\
parameter_group_name string optional Optional: specific parameter group to use

mythic_get_task

Get details of a specific task by its display_id (the number shown in the Mythic UI)

Parameters

Parameter Type Required Description
task_id int required Display ID of the task

mythic_update_task

Update a task's properties (comment, completed, etc.)

Parameters

Parameter Type Required Description
task_id int required Display ID of the task to update
updates map[string]any required Map of fields to update (comment

mythic_get_callback_tasks

Get all tasks for a specific callback with optional limit

Parameters

Parameter Type Required Description
callback_id int required Callback display_id (the number shown in the Mythic UI
limit int optional Maximum number of tasks to return (default 100)

mythic_get_tasks_by_status

Get tasks for a callback filtered by status (submitted, processing, completed, error, etc.)

Parameters

Parameter Type Required Description
callback_id int required Callback display_id (the number shown in the Mythic UI
status string required Task status to filter by (submitted
limit int optional Maximum number of tasks to return (default 100)

mythic_wait_for_task

Wait for a task to complete with timeout

Parameters

Parameter Type Required Description
task_id int required Display ID of the task to wait for
timeout int optional Timeout in seconds (default 60)

mythic_get_task_output

Get the output/responses for a task

Parameters

Parameter Type Required Description
task_id int required Display ID of the task

mythic_reissue_task

[UNSUPPORTED] Reissue a task with the same parameters. NOTE: The Mythic server has this mutation in its GraphQL schema but returns 'Function not implemented' at runtime. This tool is non-functional until Mythic implements it server-side.

Parameters

Parameter Type Required Description
task_id int required Display ID of the task to reissue

mythic_reissue_task_with_handler

[UNSUPPORTED] Reissue a task with handler for callback structure updates. NOTE: The Mythic server has this mutation in its GraphQL schema but returns 'Function not implemented' at runtime. This tool is non-functional until Mythic implements it server-side.

No parameters.


mythic_get_task_artifacts

Get artifacts (IOCs) generated by a task

Parameters

Parameter Type Required Description
task_id int required Display ID of the task

mythic_request_opsec_bypass

Request bypass for OPSEC checks on a blocked task

Parameters

Parameter Type Required Description
task_id int required Display ID of the task

mythic_add_mitre_attack_to_task

Add MITRE ATT&CK technique mapping to a task

Parameters

Parameter Type Required Description
task_id int required Display ID of the task (the number shown in the Mythic UI)
technique_id string required MITRE ATT&CK technique ID (e.g.

mythic_get_task_responses

Get all responses for a specific task

Parameters

Parameter Type Required Description
task_id int required Display ID of the task

mythic_get_callback_responses

Get responses for a callback with optional limit

Parameters

Parameter Type Required Description
callback_id int required Callback display_id (the number shown in the Mythic UI
limit int optional Maximum number of responses to return (default 100)

mythic_get_response

Get details of a specific response by ID

Parameters

Parameter Type Required Description
response_id int required ID of the response

mythic_get_latest_responses

Get the latest responses for an operation

Parameters

Parameter Type Required Description
operation_id int required ID of the operation
limit int optional Maximum number of responses to return (default 50)

mythic_search_responses

Search for responses containing specific text

Parameters

Parameter Type Required Description
search_term string required Text to search for in response output
limit int optional Maximum number of responses to return (default 50)

mythic_get_response_statistics

Get statistics about responses for a specific task

Parameters

Parameter Type Required Description
task_id int required Task ID to get statistics for