> ## 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.

# Execute Sync Callback • AI Agent SDK

> execute_sync_callback: Execute synchronous callback for a given display type without displaying anything.

# execute\_sync\_callback

<div className="flex items-center gap-2">
  <Badge color="teal">Function</Badge>
</div>

> This function is defined in the [**main**](../modules/main) module.

Execute synchronous callback for a given display type without displaying anything.

This function is used to trigger callbacks even when verbose=False.

## Signature

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

## Parameters

<ParamField query="display_type" type="str" required={true}>
  Type of display event \*\*kwargs: Arguments to pass to the callback function
</ParamField>

### Returns

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

## Uses

* `inspect.signature`
* `callback`

## Used By

* [`display_interaction`](../functions/display_interaction)
* [`display_self_reflection`](../functions/display_self_reflection)
* [`display_instruction`](../functions/display_instruction)
* [`display_tool_call`](../functions/display_tool_call)
* [`display_error`](../functions/display_error)

## Source

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