box_ai_ask_hub_tool
Ask AI-powered questions about Box hubs to get answers from your content using specified AI agents.
Instructions
Ask a question about a hub using AI. Args: ctx (Context): The context object containing the request and lifespan context. hub_id (str): The ID of the hub 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
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hub_id | Yes | ||
| prompt | Yes | ||
| ai_agent_id | No |