Skip to content

Bug: Agent allows unsupported file types despite tool restrictions #651

@naveed-jameel-comsian

Description

@naveed-jameel-comsian

In the agent configuration under “Select which tools this agent can use”, I enabled only the Image tool for the agent.

However, during testing, the agent still allows selecting and uploading other file types (e.g., PDF), even though those tools were not enabled.

Expected Behavior
The agent should only allow file types corresponding to enabled tools.
If only Image tool is enabled, only image uploads should be allowed.
Other file types should be restricted or disabled.

Actual Behavior
The agent allows selecting/uploading unsupported file types (e.g., PDF).
Tool restriction is not enforced in the UI and/or backend.

Image

Metadata

Metadata

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions