pyphi.mcp.agents.confirm#

pyphi.mcp.agents.confirm(question)[source]#

Ask question and return whether the answer was yes.

An empty answer accepts. End of input declines, so a closed pipe does not raise.

Parameters:

question (str)

Return type:

bool