Skip to content

[Feature Request]: Modify Tool Tag Structure from Array of Strings to List of Objects #1442

@filis-cadar

Description

@filis-cadar

Description

Currently, the tool tags are represented as an array of strings. This limits flexibility when additional metadata is needed for each tag. The request is to change the structure to a list of objects with the following format:
[
{ "id": "<unique_id>", "label": "<display_name>" }
]

Problem Statement

This will make integration with other apps easier and allow to extend the functionality in the future.

Proposed Solution

Update the tool tag structure from:
["tag1", "tag2", "tag3"]
to:
[
{ "id": "tag1", "label": "Tag 1" },
{ "id": "tag2", "label": "Tag 2" },
{ "id": "tag3", "label": "Tag 3" }
]

Additional Context

This change will impact:

API responses where tags are returned.
UI components that render tags.
Any existing logic that assumes tags are strings.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requesttriageIssues / Features awaiting triage

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions