box_ai_ask_file_single_tool
Ask AI questions about specific Box files to get answers from document content. Use a file ID and question to query file information with optional AI agent selection.
Instructions
Ask a question about a file using AI. Args: ctx (Context): The context object containing the request and lifespan context. file_id (str): The ID of the file to ask about, example: "1234567890". prompt (str): The question to ask. ai_agent_id (Optional[str]): The ID of the AI agent to use for the question. If None, the default AI agent will be used. Returns: dict: The AI response containing the answer to the question.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes | ||
| prompt | Yes | ||
| ai_agent_id | No |