box_ai_ask_hub_tool
Ask questions about a Box hub using AI and get answers by providing the hub ID and prompt, with an optional AI agent ID.
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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"hub_id": "<hub_id>",
"prompt": "<prompt>"
},
"name": "box_ai_ask_hub_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hub_id | Yes | ||
| prompt | Yes | ||
| ai_agent_id | No |