langgraph_agent_toolkit.ui.components.elicitation module

Render MCP questions without service-only dependencies.

langgraph_agent_toolkit.ui.components.elicitation.has_mcp_interrupts(pending)[source][source]

Check whether the conversation needs structured MCP answers.

Parameters:

pending (list[dict])

Return type:

bool

langgraph_agent_toolkit.ui.components.elicitation.render_elicitation(pending, conversation, revision=0)[source][source]

Collect each pending answer and return an explicit resume request.

Parameters:
  • pending (list[dict])

  • conversation (tuple)

  • revision (int)

Return type:

dict | None