Skip to main content

Documentation Index

Fetch the complete documentation index at: https://handbook.fiddler.ai/llms.txt

Use this file to discover all available pages before exploring further.

Get the conversation ID for the current agent invocation. Retrieves the conversation ID that was previously set using set_conversation_id(). Works in both synchronous and asynchronous contexts automatically.

Parameters

ParameterTypeRequiredDefaultDescription
agentAgentNoneThe Strands Agent instance to retrieve the conversation ID from

Returns

The conversation ID string, or empty string if none has been set Return type: str