Create a new task or continue an existing one. Returns SSE by default, or JSON acknowledgement when requested.
Response Modes:
response_format omitted): streaming SSE response (text/event-stream)response_format=json: synchronous acknowledgement (202 + task id/status JSON)response_format is omitted and Accept: application/json is sent, JSON acknowledgement is returned.Mode Options:
agent (default): Full agent mode with all tools, execution capabilities, and memorychat: Conversational mode with limited tools (web search, knowledge search)Direct Agent Execution:
agent_id to bypass AgentSwarm and route to a specific agentSecrets (Opt-In):
secrets to pass only selected secret names into task runtimeDocumentation Index
Fetch the complete documentation index at: https://docs.neo.projectdiscovery.io/llms.txt
Use this file to discover all available pages before exploring further.
JWT authentication token
Bypass AgentSwarm and route to specific agent
Array of agent IDs for multi-agent orchestration
Enable the ask_question tool for the planner with durable DB-backed suspension. When false (default), the tool and its prompt sections are removed entirely so the planner must proceed without asking the user clarifying questions.
When mode=plan, auto-execute the plan without waiting for user approval
Optional file references
Optional task ID. If omitted or invalid, server generates one.
Run task in an ephemeral sandbox with no prior user context
Max execution-verification loop iterations. When omitted, defaults to 0 for agent mode (no verification) and 1 for plan mode (single execute + verify cycle). 0 = explicitly skip verification. 1+ = run that many execute+verify cycles.
0 <= x <= 5Max LLM steps for execution mode only. Does not affect plan or verification phases. Defaults to 45 (direct) or 60 (swarm).
4 <= x <= 200agent = full tools, chat = limited tools, plan = info-gathering + strategic planning
agent, chat, plan Optional model. If omitted/empty, server resolves default via user/team/tag policy.
auto, opus-4.7, opus-4.6, sonnet-4.6, haiku-4.5, gpt-5.5-high, gpt-5.4-xhigh, gpt-5.4-high, gpt-5.3-codex-high, gemini-3-pro, gemini-3-flash, grok-4.1-fast, grok-4-fast, grok-code, kimi-k2.6, glm-5 Project ID to scope task to. If omitted, task is user-scoped.
Optional response mode.
sse, json Optional secret names to expose at runtime (opt-in). Only listed names are resolved and made available to tools. If omitted or empty, no user/project secrets are exposed.
Optional shorthand user input. Used only when message.parts is absent.
Task visibility. Defaults to private when omitted/empty.
public, private, unlisted, team Streaming SSE response
The response is of type string.