***

title: clear_dynamic_hints
slug: /reference/python/agents/function-result/clear-dynamic-hints
description: Remove all dynamically added speech recognition hints.
max-toc-depth: 3
---------------------

For a complete index of all SignalWire documentation pages, fetch https://signalwire.com/docs/llms.txt

[add-dynamic-hints]: /docs/server-sdks/reference/python/agents/function-result/add-dynamic-hints

[functionresult]: /docs/server-sdks/reference/python/agents/function-result

Remove all dynamically added speech recognition hints. This clears every hint
that was previously added via [`add_dynamic_hints()`][add-dynamic-hints].
Static hints defined on the agent at configuration time are not affected.

## **Parameters**

None.

## **Returns**

[`FunctionResult`][functionresult] — self, for chaining.

## **Example**

```python {11}
from signalwire import AgentBase
from signalwire import FunctionResult

agent = AgentBase(name="my-agent", route="/agent")
agent.set_prompt_text("You are a helpful assistant.")

@agent.tool(name="reset_context", description="Reset speech recognition context")
def reset_context(args, raw_data):
    return (
        FunctionResult("Context reset.")
        .clear_dynamic_hints()
    )

agent.serve()
```