Skip to content
This repository was archived by the owner on Apr 30, 2026. It is now read-only.
This repository was archived by the owner on Apr 30, 2026. It is now read-only.

box_search_tool does not return created_at and modified_at despite documentation #36

@eai04191

Description

@eai04191

Summary

The documentation states that box_search_tool results include created_at, modified_at, etc., but the actual implementation does not return these fields.

Expected Behavior

As documented:

Each result includes: id, name, type (file/folder), created_at, modified_at, etc.

Actual Behavior

Search results only include id, name, type, size, and description.

Root Cause

The box_search function in box_ai_agents_toolkit hardcodes the fields parameter passed to the Box API:

fields: List[str] = ["id", "name", "type", "size", "description"]

https://github.com/box-community/box-ai-agents-toolkit/blob/f3a5ec9da1ee58dc7414a2117c814bfffe2c5f8b/src/box_ai_agents_toolkit/box_api_search.py#L29

Since the Box API only returns fields explicitly requested via the fields parameter, created_at and modified_at are not included in the response.

Suggested Fix

Add date fields to the fields list. This could be done either:

  1. In box_ai_agents_toolkit's box_search function
  2. In box_tools_search.py by calling the Box SDK directly instead of using box_ai_agents_toolkit

Environment

  • mcp-server-box: 50f4b677d6ffc2bad19a82e0f6f24eb644c0b02d
  • box_ai_agents_toolkit: 0.1.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions