Expose select item option mapping

57 views
Skip to first unread message

Tibor Rac

unread,
Feb 24, 2026, 2:34:49 AM (3 days ago) Feb 24
to Chrome Built-in AI Early Preview Program Discussions
Hi everyone,
I'm playing with webMCP on a search form using imperative implementation (next.js app). The form has several quite long lists eg. cities (200+ items), categories (~100).
The form submits the cityId and categoryId, so the agent should be able to resolve the city from the prompt to the corresponding ids. 
Is there a specific schema structure to expose the list/mapping? 
Just generate as description text? It might work, but looks eh..
Create a tool for resolving ids and referring it in the cityId field description?

Thanks
Tibor

François Beaufort

unread,
Feb 24, 2026, 5:01:20 AM (2 days ago) Feb 24
to Tibor Rac, Chrome Built-in AI Early Preview Program Discussions
Hey Tibor,

I'm happy to see I'm not the only one facing this issue. See https://issues.chromium.org/484936846


--
You received this message because you are subscribed to the Google Groups "Chrome Built-in AI Early Preview Program Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chrome-ai-dev-previe...@chromium.org.
To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/chrome-ai-dev-preview-discuss/78957f96-b9d5-4fa8-a8cb-41ad3b4d2046n%40chromium.org.

Tibor Rac

unread,
8:30 AM (7 hours ago) 8:30 AM
to Chrome Built-in AI Early Preview Program Discussions, François Beaufort, Chrome Built-in AI Early Preview Program Discussions, Tibor Rac
Hey François,

Thanks for the heads-up. I managed to kinda get it working by using an additional tool, but it adds extra complexity. I now have to handle edge cases and fuzzy matching, which ideally shouldn’t be necessary if the model could understand it correctly in the first place.

I’m following the bug report.

François Beaufort

unread,
8:33 AM (7 hours ago) 8:33 AM
to Tibor Rac, Chrome Built-in AI Early Preview Program Discussions
I've noticed an additional tool was also helpful in https://issues.chromium.org/issues/484936846#comment2 but like you said, it would be nice if it wasn't necessary.
Reply all
Reply to author
Forward
0 new messages