(简单场景备选,仅支持约 25 种题型)通过人类可读的 DSL 文本创建问卷。文本格式与 get_survey(format='dsl') 输出一致。支持题型标签:[单选题]、[下拉框]/[下拉单选]、[多选题]、[填空题]、[简答题]/[问答题]、[多项填空题]、[量表题]、[评分单选]、[评分多选]、[排序题]、[判断题]、[比重题]、[滑动条]、[矩阵题]、[矩阵量表题]、[矩阵单选题]、[矩阵多选题]、[矩阵填空题]、[文件上传]、[绘图题]、[段落说明]、[商品题]、[多级下拉题]、[考试多项填空]、[考试完形填空]。【考试题型】创建考试问卷时设 atype=6,考试中的单选/...
Part of the Wjx server.
Free to start. No card required.
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. PolicyLayer'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.
{
"version": "1",
"default": "deny",
"tools": {
"create_survey_by_text": {
"limits": [
{
"counter": "create_survey_by_text_rate",
"window": "minute",
"max": 30,
"scope": "grant"
}
]
}
}
} See the full Wjx policy for all 58 tools.
These attack patterns abuse exactly the kind of access create_survey_by_text gives an agent. Each links to the full case and the policy that stops it:
Other write tools across the catalogue. The same approach applies to each: rate-limit and validate the arguments.
(简单场景备选,仅支持约 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.
Register the Wjx MCP server in PolicyLayer and add a rule for create_survey_by_text: 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 Wjx. Nothing to install.
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 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 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). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
Deterministic rules across all 58 Wjx tools. Per-identity grants. Full audit log. Live in minutes. Nothing to install.
Free to start. No card required.
4,600+ MCP servers and 31,000+ tools scanned and risk-classified.