mcpwn API
    Preparing search index...

    Function parseAgentAction

    • Parse an agent's stdout into an AgentAction. Lenient: non-JSON or an unrecognised shape becomes a final message carrying the raw text, so even a plain answer is scoreable.

      Parameters

      • raw: string

      Returns AgentAction