Skip to content

TraverseAgentContextRequest

Source code in docs_src/capo_context/types/traverse_agent_context_request.py
class TraverseAgentContextRequest(TypedDict, closed=True):
    max_results: NotRequired["int"]
    """<p>Maximum total neighbors to return per page.</p>"""
    next_token: NotRequired["str"]
    """<p>Opaque continuation token from a prior response. Omit on the first page.</p>"""
    agent_context_id: (
        "capo_context.types.agent_context_identifier.AgentContextIdentifier"
    )
    """<p>The agent context to traverse, by ID or full Amazon Resource Name (ARN).</p>"""
    node_id: "capo_context.types.generic_node_id.GenericNodeId"
    """<p>The ID of the seed node to start traversal from.</p>"""
    traversal_strategy: "capo_context.types.traversal_strategy.TraversalStrategy"
    """<p>Traversal directives: which edge types to follow, direction, and max depth.</p>"""

agent_context_id instance-attribute

agent_context_id: AgentContextIdentifier

The agent context to traverse, by ID or full Amazon Resource Name (ARN).

max_results instance-attribute

max_results: NotRequired[int]

Maximum total neighbors to return per page.

next_token instance-attribute

next_token: NotRequired[str]

Opaque continuation token from a prior response. Omit on the first page.

node_id instance-attribute

node_id: GenericNodeId

The ID of the seed node to start traversal from.

traversal_strategy instance-attribute

traversal_strategy: TraversalStrategy

Traversal directives: which edge types to follow, direction, and max depth.