tinyhumansai/openhuman · error

Missing required parameter: input

Error message

Missing required parameter: input

What it means

Argument-validation guard in the Parallel processor/task tool's execute: 'input' is missing entirely (args.get("input") yields None — any JSON type is accepted, only presence is checked). The schema requires [input, processor]. Malformed model call; returned as a tool error before any work is dispatched.

Source

Thrown at src/openhuman/search/tools/parallel.rs:695

                "output_schema": {
                    "type": "object",
                    "description": "Optional JSON schema describing the desired structured output"
                },
                "timeout_seconds": {
                    "type": "integer",
                    "minimum": 10,
                    "maximum": 900,
                    "description": "Max time to wait inline (default 600)"
                }
            },
            "required": ["input", "processor"]
        })
    }

    async fn execute(&self, args: serde_json::Value) -> anyhow::Result<ToolResult> {
        let input = args
            .get("input")
            .ok_or_else(|| anyhow::anyhow!("Missing required parameter: input"))?;
        let processor = args
            .get("processor")
            .and_then(|v| v.as_str())
            .ok_or_else(|| anyhow::anyhow!("Missing required parameter: processor"))?;

        let mut body = json!({
            "input": input,
            "processor": processor,
            "wait": true,
        });
        if let Some(schema) = args.get("output_schema") {
            body["outputSchema"] = schema.clone();
        }
        if let Some(t) = args.get("timeout_seconds").and_then(|v| v.as_u64()) {
            body["timeoutSeconds"] = json!(t.clamp(10, 900));
        }

        tracing::info!("[parallel_research] processor={}", processor);

View on GitHub (pinned to 7491200858)

Solutions

  1. Re-issue the call including 'input' (string or structured payload to be processed).
  2. Pair it with the required 'processor' parameter per the schema.
  3. Check that argument serialization is not silently dropping null/omitted fields.
Defensive patterns

Strategy: validation

When it happens

Trigger: Thrown at src/openhuman/search/tools/parallel.rs:695 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of tinyhumansai/openhuman@7491200858 (2026-08-17). Data as JSON: /api/errors/6a9cf384f7ea346d. Report an issue: GitHub.