从ERP系统查询/导出电子合同明细Excel文件。必须先调用 brand_select 获取 brandId,再调用 branch_select 获取 branchId 和 cityCode。支持4个action: get_contract_types获取合同类型选项, get_contract_states获取合同状态选项, query预览数据, export执行导出。确认城市公司(必填,支持多选)、确认添加时间(必填,默认本月含今天;单次最长365天,超出时提示用户缩短范围)。合同类型(选填,多选,需先调用 get_contract_types 获取选项)。合同状态(选填,多选,需先...
AI agents call electronic_contract to retrieve information from Yjzf without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
| Parameter | Type | Required | Description |
|---|---|---|---|
action | string | Yes | 要执行的动作 |
pageNo | number | — | 页码,仅 query 时使用,不传默认1 |
brandId | string | Yes | 品牌ID,必须通过 brand_select 工具获取,禁止自行编造 |
branchId | string | Yes | 城市公司ID(即organId)��必须通过 branch_select 工具获取,禁止自行编造 |
cityCode | string | Yes | 城市编码,必须通过 branch_select 工具获取,禁止自行编造 |
pageSize | number | — | 每页条数,仅 query 时使用,不传默认10 |
typeList | array | — | 合同类型ID数组(数字),选填。必须通过 get_contract_types 返回的 typeId 字段值传入,禁止传中文名称(typeName)。不传则不按类型筛选 |
stateList | array | — | 合同状态值数组(数字),选填。必须通过 get_contract_states 返回的 val 字段值(转为数字)传入,禁止传中文名称(dictDataName)。不传则不按状态筛选 |
branchName | string | Yes | 城市公司名称(用于文件命名),必须通过 branch_select 工具获取,禁止自行编造 |
createTmEnd | number | — | 添加时间结束(毫秒时间戳)。用户有指定日期时,必须先调用 get_current_time 获取当前时间作为参考,再用 date_to_timestamp(endOfDay=true) 转换,严禁自行估算。不传默认今天结束。时间范围最长不超过365天,超出时提示用户缩短范围 |
createTmBegin | number | — | 添加时间开始(毫秒时间戳)。用户有指定日期时,必须先调用 get_current_time 获取当前时间作为参考,再用 date_to_timestamp 转换,严禁自行估算。不传默认本月第一天。时间范围最长不超过365天,超出时提示用户缩短范围 |
Parameters from the server's own tool schema.
This is a read-only data retrieval and export tool. It queries an ERP system for contract information and exports results to Excel, with filtering by city, date range, contract type, and status. No write, delete, or execute operations are performed on the underlying data. The export action only extracts existing data; it does not modify the ERP system.
From the tool's definition Tool description states it "查询/导出电子合同明细Excel文件" (queries/exports electronic contract details to Excel file). Core actions are: get_contract_types (retrieves options), get_contract_states (retrieves options), query (previews data), and export (executes export).
Risk signalsHigh parameter count (11 properties)
Attacks that exploit this kind of access
从ERP系统查询/导出电子合同明细Excel文件。必须先调用 brand_select 获取 brandId,再调用 branch_select 获取 branchId 和 cityCode。支持4个action: get_contract_types获取合同类型选项, get_contract_states获取合同状态选项, query预览数据, export执行导出。确认城市公司(必填,支持多选)、确认添加时间(必填,默认本月含今天;单次最长365天,超出时提示用户缩短范围)。合同类型(选填,多选,需先调用 get_contract_types 获取选项)。合同状态(选填,多选,需先调用 get_contract_states 获取选项)。. It is categorised as a Read tool in the Yjzf MCP Server, which means it retrieves data without modifying state.
electronic_contract accepts 11 parameters: action, pageNo, brandId, branchId, cityCode, pageSize, typeList, stateList, branchName, createTmEnd, createTmBegin. Required: action, brandId, branchId, cityCode, branchName. The full parameter table on this page comes from the server's own tool schema.
Register the Yjzf MCP server in PolicyLayer and add a rule for electronic_contract: 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 Yjzf. Nothing to install.
electronic_contract is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the electronic_contract 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.
Set action: deny in the PolicyLayer policy for electronic_contract. 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.
electronic_contract is provided by the Yjzf MCP server (@yjzf/mcp-server-yjzf). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the 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 →