7.3 工具调用安全
7.3.1 工具调用机制
{
"name": "send_email",
"description": "发送邮件给指定收件人",
"parameters": {
"type": "object",
"properties": {
"to": {"type": "string", "description": "收件人邮箱"},
"subject": {"type": "string", "description": "邮件主题"},
"body": {"type": "string", "description": "邮件正文"}
},
"required": ["to", "subject", "body"]
}
}7.3.2 工具调用风险
风险
描述
示例
7.3.3 参数验证不足
7.3.4 工具权限设计
要素
描述
7.3.5 LLM 幻觉与工具参数生成
7.3.6 工具链安全
7.3.7 安全工具设计原则
7.3.8 MCP 生态下的工具安全
7.3.9 Policy-as-Code 与双重网关
最后更新于
