(简单场景备选,仅支持约 25 种题型)通过人类可读的 DSL 文本创建问卷。文本格式与 get_survey(format='dsl') 输出一致。支持题型标签:[单选题]、[下拉框]/[下拉单选]、[多选题]、[填空题]、[简答题]/[问答题]、[多项填空题]、[量表题]、[评分单选]、[评分多选]、[排序题]、[判断题]、[比重题]、[滑动条]、[矩阵题]、[矩阵量表题]、[矩阵单选题]、[矩阵多选题]、[矩阵填空题]、[文件上传]、[绘图题]、[段落说明]、[商品题]、[多级下拉题]、[考试多项填空]、[考试完形填空]。【考试题型】创建考试问卷时设 atype=6,考试中的单选/...
Part of the Wjx MCP server. Enforce policies on this tool with Intercept, the open-source MCP proxy.
AI agents use create_survey_by_text to create or modify resources in Wjx. Write operations carry medium risk because an autonomous agent could trigger bulk unintended modifications. Rate limits prevent a single agent session from making hundreds of changes in rapid succession. Argument validation ensures the agent passes expected values.
Without a policy, an AI agent could call create_survey_by_text repeatedly, creating or modifying resources faster than any human could review. Intercept's rate limiting ensures write operations happen at a controlled pace, and argument validation catches malformed or unexpected inputs before they reach Wjx.
Write tools can modify data. A rate limit prevents runaway bulk operations from AI agents.
tools:
create_survey_by_text:
rules:
- action: allow
rate_limit:
max: 30
window: 60 See the full Wjx policy for all 58 tools.
Agents calling write-class tools like create_survey_by_text have been implicated in these attack patterns. Read the full case and prevention policy for each:
Other tools in the Write risk category across the catalogue. The same policy patterns (rate-limit, validate) apply to each.
(简单场景备选,仅支持约 25 种题型)通过人类可读的 DSL 文本创建问卷。文本格式与 get_survey(format='dsl') 输出一致。支持题型标签:[单选题]、[下拉框]/[下拉单选]、[多选题]、[填空题]、[简答题]/[问答题]、[多项填空题]、[量表题]、[评分单选]、[评分多选]、[排序题]、[判断题]、[比重题]、[滑动条]、[矩阵题]、[矩阵量表题]、[矩阵单选题]、[矩阵多选题]、[矩阵填空题]、[文件上传]、[绘图题]、[段落说明]、[商品题]、[多级下拉题]、[考试多项填空]、[考试完形填空]。【考试题型】创建考试问卷时设 atype=6,考试中的单选/多选/填空自动变为考试题型。【多项填空/考试填空】题目标题中必须包含填空占位符 {_},如:'The boy {_} a student'。【API 限制】考试问卷的正确答案和分值无法通过 API 设置,需在问卷星网页端手动配置。q_title 不要包含题型标记。输入示例: 用户满意度调查 请认真填写 1. 整体满意度[单选题] 非常满意 满意 不满意 2. 建议[填空题](选填). It is categorised as a Write tool in the Wjx MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
Add a rule in your Intercept YAML policy under the tools section for create_survey_by_text. You can allow, deny, rate-limit, or validate arguments. Then run Intercept as a proxy in front of the Wjx MCP server.
create_survey_by_text is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.
Yes. Add a rate_limit block to the create_survey_by_text rule in your Intercept 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 Intercept policy for create_survey_by_text. 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.
create_survey_by_text is provided by the Wjx MCP server (wjx-mcp-server). Intercept sits as a proxy in front of this server to enforce policies before tool calls reach the server.
Open source. One binary. Zero dependencies.
npx -y @policylayer/intercept