> Fetch clean Markdown by appending `.md` to any page URL under https://signalwire.com/docs or requesting it with the HTTP header `Accept: text/markdown`. The root index at https://signalwire.com/docs/llms.txt lists the available documentation indexes. # simulateUserInput > Inject text as simulated user speech input. [functionresult]: /docs/server-sdks/reference/typescript/agents/function-result Inject text as if the user spoke it. The AI agent processes the injected text exactly as it would process real speech input. Useful for driving automated workflows or confirmations. ## **Parameters** **`text`** `string` — required Text to inject as simulated user speech. --- ## **Returns** [`FunctionResult`][functionresult] -- `this`, for chaining. ## **Example** ```typescript {4} import { FunctionResult } from '@signalwire/sdk'; const result = new FunctionResult() .simulateUserInput('I want to check my balance.'); ``` > Inject text as simulated user speech input.