compose_xingce_answer_prompt
Generates a constrained answer prompt for civil service exam questions, using module hints and section context to route LLM responses with strict output schema and safety rules.
Instructions
Compose a conservative answer prompt for LLM-in-the-loop answering. Supports module_hint / section_context to guide routing by exam section context. Returns answer_prompt with strict constraints, output schema, and safety contract. Does not answer questions, call external LLM, or select options.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"question_text": "<question_text>"
},
"name": "compose_xingce_answer_prompt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| options | No | ||
| module_hint | No | ||
| strict_mode | No | ||
| allow_answer | No | ||
| image_present | No | ||
| material_text | No | ||
| question_text | Yes | ||
| table_present | No | ||
| section_context | No | ||
| material_present | No | ||
| visual_description | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||