> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# output • AI Agent SDK

> output: Get combined output (stdout + stderr).

# output

<div className="flex items-center gap-2">
  <Badge color="purple">Method</Badge>
</div>

> This is a method of the [**SandboxResult**](../classes/SandboxResult) class in the [**protocols**](../modules/protocols) module.

Get combined output (stdout + stderr).

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def output() -> str
```

### Returns

<ResponseField name="Returns" type="str">
  The result of the operation.
</ResponseField>

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/sandbox/protocols.py#L187">
  `praisonaiagents/sandbox/protocols.py` at line 187
</Card>

***

## Related Documentation

<CardGroup cols={2}>
  <Card title="Output Concept" icon="file-export" href="/docs/concepts/output" />

  <Card title="Output Configuration" icon="gear" href="/docs/configuration/output-config" />

  <Card title="Save Output" icon="floppy-disk" href="/docs/features/save-output" />
</CardGroup>
