Sessions Tasks List by TaskId

Table of Contents

Description

Gets the results of tye specified tasks and optionally waits for the tasks to complete. The results may also be summarized.

Example:

When preparing a function_call for the RunSpecterScript tool, you must preserve JSON structure for the Arguments property. Do NOT serialize Arguments into a JSON string. The Arguments field must always be a JSON object, not a quoted string.

{
  "function_call": {
    "name": "SessionsTasksListByTaskId",
    "arguments": {
      "TaskIds": [
        "11150152ff8444deb21413413a68b0b1"
      ],
      "WaitFor": 600000,
      "MaxLength": 20000,
      "SummarizeOutput": true,
      "SummarizationPrompt": "Summarize output into: 1) a concise table of IP, open ports (22,3389), hostname/FQDN if present, and any OS fingerprint; 2) up to three short passive follow-up actions (no active scanning or exploitation) — e.g., check DNS cache, ARP, SMB sessions. Keep it terse."
    }
  }
}
Scroll to Top