fix(assistant): align tool metadata with router audiences

This commit is contained in:
2026-03-30 13:18:00 +02:00
parent 01e5f273c6
commit 58824545fc
3 changed files with 12 additions and 17 deletions
+2 -2
View File
@@ -1912,7 +1912,7 @@ export const TOOL_DEFINITIONS: ToolDef[] = [
type: "function",
function: {
name: "search_resources",
description: "Search for resources (employees) by name, employee ID, chapter, country, metro city, org unit, or role. Returns a list of matching resources with key details.",
description: "Search for resources (employees) by name, employee ID, chapter, country, metro city, org unit, or role. Resource overview access required. Returns a list of matching resources with key details.",
parameters: {
type: "object",
properties: {
@@ -2442,7 +2442,7 @@ export const TOOL_DEFINITIONS: ToolDef[] = [
type: "function",
function: {
name: "search_by_skill",
description: "Find resources that have a specific skill.",
description: "Find resources that have a specific skill. Controller/manager/admin access required.",
parameters: {
type: "object",
properties: {