prereg_template
Generate pre-registration templates for research studies on OSF or AsPredicted platforms, specifying study type and hypotheses to ensure methodological transparency.
Instructions
사전등록 템플릿 생성 (OSF, AsPredicted)
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": {
"platform": "<platform>",
"study_type": "<study_type>"
},
"name": "prereg_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| platform | Yes | 플랫폼 | |
| study_type | Yes | 연구 유형 | |
| hypotheses | No | 가설 목록 |
Implementation Reference
- src/tools/index.ts:1847-1859 (handler)The handler function implementing the logic for the 'prereg_template' tool. It returns a basic preregistration template structure with predefined sections based on the platform and study type inputs.
function handlePreregTemplate(args: Record<string, unknown>) { return { platform: args.platform, sections: [ "1. Study Information", "2. Design Plan", "3. Sampling Plan", "4. Variables", "5. Analysis Plan", "6. Other" ] }; } - src/tools/index.ts:631-642 (schema)The tool definition including name, description, and input schema for validation of parameters: platform, study_type, and optional hypotheses.
{ name: "prereg_template", description: "사전등록 템플릿 생성 (OSF, AsPredicted)", inputSchema: { type: "object", properties: { platform: { type: "string", enum: ["osf", "aspredicted"], description: "플랫폼" }, study_type: { type: "string", enum: ["experiment", "observational", "replication"], description: "연구 유형" }, hypotheses: { type: "array", items: { type: "string" }, description: "가설 목록" }, }, required: ["platform", "study_type"], }, - src/tools/index.ts:877-877 (registration)Registration of the tool handler in the main handleToolCall switch statement, mapping the tool name to its handler function.
return handlePreregTemplate(args);