feat: choose per tool whether MCP, voice or both offer it

src/tools/surfaces.js lists the tools a surface leaves out, and the MCP
server, the voice session's tool list and the browser catalog voice calls
all filter through it. Voice leaves out tools that answer with images, link
to the app, or repeat what its app actions already answer.
This commit is contained in:
Sameh Khamis committed 2026-10-01 14:36:12 -07:00
1 parent b4067f9859
commit df0e0f32e8
9 files changed
+138 -17

No files matched your search

+2
View File
@@ -221,6 +221,8 @@ test('Realtime sessions carry supplied tools, and the standalone voice adds the
assert.ok(names.includes('get_weather'));
assert.ok(names.includes('military_awareness'));
assert.ok(!names.includes('open_in_gods_eye_view'));
assert.ok(!names.includes('aircraft_in_area'));
assert.ok(!names.includes('get_weather_map'));
// The action of the same name answers satellite passes.
assert.equal(
tools.findLast((tool) => tool.name === 'next_satellite_pass'),