Skip to main content

portia.execution_agents.react_clarification_tool

Tool for raising clarifications if unsure on an arg.

ReActClarificationToolSchema Objects

class ReActClarificationToolSchema(BaseModel)

Schema defining the inputs for the ClarificationTool.

ReActClarificationTool Objects

class ReActClarificationTool(Tool[InputClarification])

Raises a clarification if the agent does not have enough information to proceed.

run

def run(ctx: ToolRunContext, guidance: str) -> InputClarification

Run the ReActClarificationTool.