跳到正文
原文
cursor_ai· @cursor_ai · X·· 14 小时前AI 评分44

Cursor 自定义工具支持 MCP 注解

AI 导读

自定义工具现在可以携带 MCP 注解,如 readOnlyHint 和 destructiveHint,这样模型在调用前就能区分查询和删除操作。

正文 · 原文

Custom tools can now carry MCP annotations like readOnlyHint and destructiveHint, so the model can tell a lookup from a delete before it calls one.

来源:cursor_ai · x.com