Compare commits

...

1 Commits

Author SHA1 Message Date
Matthew Zeng
21a655d0fa update 2026-03-20 00:10:47 -07:00
2 changed files with 5 additions and 0 deletions

View File

@@ -2106,6 +2106,9 @@ fn tool_suggest_description_lists_discoverable_tools() {
assert!(
description.contains("skills; MCP servers: sample-docs; app connectors: connector_sample")
);
assert!(description.contains(
"if the user is actively using an installed plugin and one of that plugin's discoverable connectors/apps is not installed but can be installed, suggest installing that connector/app immediately"
));
assert!(description.contains("DO NOT explore or recommend tools that are not on this list."));
let JsonSchema::Object { required, .. } = parameters else {
panic!("expected object parameters");

View File

@@ -7,6 +7,8 @@ Use this ONLY when:
- And tool_search fails to find a good match
- AND the user's request strongly matches one of the discoverable tools listed below.
Exception: if the user is actively using an installed plugin and one of that plugin's discoverable connectors/apps is not installed but can be installed, suggest installing that connector/app immediately. In that case, do not wait for `tool_search` or other fallback attempts to fail first.
Tool suggestions should only use the discoverable tools listed here. DO NOT explore or recommend tools that are not on this list.
Discoverable tools: