box_search_tool
Search Box files using a query and filter by file extension, content type, or folder. Retrieve matching documents.
Instructions
Search for files in Box with the given query.
Args: query (str): The query to search for. file_extensions (List[str]): The file extensions to search for, for example *.pdf content_types (List[SearchForContentContentTypes]): where to look for the information, possible values are: NAME DESCRIPTION, FILE_CONTENT, COMMENTS, TAG, ancestor_folder_ids (List[str]): The ancestor folder IDs to search in. return: List[dict]: The search results.
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": {
"query": "<query>"
},
"name": "box_search_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| file_extensions | No | ||
| ancestor_folder_ids | No | ||
| where_to_look_for_query | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |