Build a clarifyIntent ToolEntry, optionally overriding its description and examples for a
specific domain. The schema and execute are fixed; only the classifier-facing metadata is
customizable. Pass the result to createMapAgent's tools option to replace the built-in default:
createMapAgent(map, { model, tools: { clarifyIntent:createClarifyIntentTool({ description:'Ask before running a site analysis — surface demand anchors, competitors, scoring weights…', examplePrompts: ['Profile this site for me', 'Rank these addresses'], }), }, });
Build a clarifyIntent ToolEntry, optionally overriding its description and examples for a specific domain. The schema and
executeare fixed; only the classifier-facing metadata is customizable. Pass the result tocreateMapAgent'stoolsoption to replace the built-in default: