box_ai_extract_freeform_tool
Extract structured data from Box files using AI-driven prompts. Input file IDs and a freeform prompt to guide the AI in processing and retrieving relevant information in JSON format.
Instructions
Extract data from files in Box using AI with a freeform prompt. Args: ctx (Context): The context object containing the request and lifespan context. file_ids (List[str]): The IDs of the files to read. prompt (str): The freeform prompt to guide the AI extraction. ai_agent_id (Optional[str]): The ID of the AI agent to use for processing. Returns: dict: The extracted data in a json string format.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
ai_agent_id | No | ||
file_ids | Yes | ||
prompt | Yes |