Files
my-skills/exam/scripts/validate_and_merge.json

27 lines
854 B
JSON

[
{
"tool_name": "execute_shell_command",
"arguments": {
"command": "python3 ${args.skill_dir}/scripts/validate.py ${args.generated_file}"
}
},
{
"tool_name": "execute_shell_command",
"arguments": {
"command": "python3 ${args.skill_dir}/scripts/merge_questions.py '${args.topics_dir}/${args.group}/${args.subtopic}/${args.question_type}.json' ${args.generated_file} /tmp/exam_merged.json"
}
},
{
"tool_name": "execute_shell_command",
"arguments": {
"command": "cp /tmp/exam_merged.json '${args.topics_dir}/${args.group}/${args.subtopic}/${args.question_type}.json'"
}
},
{
"tool_name": "execute_shell_command",
"arguments": {
"command": "python3 ${args.skill_dir}/scripts/update_meta.py ${args.topics_dir} ${args.group} ${args.subtopic} ${args.question_type}"
}
}
]