> 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. # setVoice > Set the Bedrock voice ID after construction. [ref-bedrockagent]: /docs/server-sdks/reference/typescript/agents/bedrock-agent Set the Bedrock voice ID after construction. ## **Parameters** **`voiceId`** `string` — required Bedrock voice identifier (e.g., `"matthew"`, `"joanna"`). --- ## **Returns** [`BedrockAgent`][ref-bedrockagent] -- Returns `this` for method chaining. ## **Example** ```typescript {9} import { BedrockAgent } from '@signalwire/sdk'; const agent = new BedrockAgent({ name: 'bedrock-assistant', route: '/assistant', systemPrompt: 'You are a helpful assistant.', }); agent.setVoice('joanna'); ``` > Set the Bedrock voice ID after construction.