yuandian_law_vector_search

法律法规 - 法律法规语义检索接口 按自然语言query做法条级语义检索,可按时效性、一级效力级别和实施日期范围过滤。返回结果在extra.fatiao,每条主要是法条内容及所属法规信息,不是整部法规全文列表;如需法规详情需再用法规 ID 调详情接口。 HTTP POST https://open.chineselaw.com/open/law_vector_search 接口文档: https://apiplatform.legalmind.cn/api/apis/17 未在 schema 中精确建模的参数也可以直接传入。

Server Yuandian yuandian-mcp-server
Category Read
Risk class Low
Parameters 41 required

What yuandian_law_vector_search does on Yuandian

AI agents call yuandian_law_vector_search to retrieve information from Yuandian without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

ParameterTypeRequiredDescription
query string Yes 待检索问题 / 查询文本
return_num number 返回法律法规数量(默认为45,最大不超过检索回的法律法规总数)
rewrite_flag boolean 是否对查询做改写,默认为true
fatiao_filter object 法律法规检索过滤条件,详细内容见字段说明

Parameters from the server's own tool schema.

Why yuandian_law_vector_search needs a policy

This is a search and retrieval tool for legal documents. It accepts natural language queries and returns matching legal statutes with filtering options (validity, enforcement dates). The operation is read-only with no side effects—no data modification, deletion, or external command execution. Even though it accesses a legal information platform, the tool itself is purely informational retrieval.

From the tool's definition Tool performs '法律法规语义检索接口' (legal semantic retrieval interface) - a query operation that searches and returns legal documents/statutes.

Questions about yuandian_law_vector_search

What does the yuandian_law_vector_search tool do? +

法律法规 - 法律法规语义检索接口 按自然语言query做法条级语义检索,可按时效性、一级效力级别和实施日期范围过滤。返回结果在extra.fatiao,每条主要是法条内容及所属法规信息,不是整部法规全文列表;如需法规详情需再用法规 ID 调详情接口。 HTTP POST https://open.chineselaw.com/open/law_vector_search 接口文档: https://apiplatform.legalmind.cn/api/apis/17 未在 schema 中精确建模的参数也可以直接传入。. It is categorised as a Read tool in the Yuandian MCP Server, which means it retrieves data without modifying state.

What parameters does yuandian_law_vector_search accept? +

yuandian_law_vector_search accepts 4 parameters: query, return_num, rewrite_flag, fatiao_filter. Required: query. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on yuandian_law_vector_search? +

Register the Yuandian MCP server in PolicyLayer and add a rule for yuandian_law_vector_search: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Yuandian. Nothing to install.

What risk level is yuandian_law_vector_search? +

yuandian_law_vector_search is a Read tool with low risk. Read-only tools are generally safe to allow by default.

Can I rate-limit yuandian_law_vector_search? +

Yes. Add a rate_limit block to the yuandian_law_vector_search rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block yuandian_law_vector_search completely? +

Set action: deny in the PolicyLayer policy for yuandian_law_vector_search. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides yuandian_law_vector_search? +

yuandian_law_vector_search is provided by the Yuandian MCP server (yuandian-mcp-server). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// LOOK UP ANOTHER SERVER

Every MCP server has a record like this.

Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.