diglabo: Math & Kanji Worksheets(算数・漢字)
Kids' math worksheets in 5 languages, plus Japanese kanji worksheets. Review link, no login.
¿Debería usar esto?
Calidad y seguridad
Hallazgos (17)
- LOWen check_available_kanji
- LOWen find_replacement_questions
- LOWen replace_question
- LOWen find_kanji_words
- LOWen get_kanji_study_set_rules
- LOWen create_kanji_study_set_from_manuscript
- LOWen get_kanji_manuscript_rules
- LOWen create_kanji_worksheet_from_manuscript
- LOWen inspect_math_difficulty_worksheets
- LOWen list_math_units
Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.
Costo de contexto
Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.
Instalar
Instalación con un clic
Agrega esto a tu archivo `claude_desktop_config.json`:
{
"mcpServers": {
"learning": {
"url": "https://api.diglabo.com/mcp"
}
}
}Puntos de conexión remotos
https://api.diglabo.com/mcpstreamable-httpQué puede hacer
Inventario de herramientas
Herramientas (16)
🟢check_available_kanji(chars)
作れる漢字プリントの範囲(教育漢字・漢検の級)、形式、指定した字の問題の数を返します。
Esquema de entrada
{
"type": "object",
"properties": {
"chars": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 24
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢find_replacement_questions(char, learningScope, grade, type)
指定した字の既存の問題を最大20件、問題文と答え付きで返します。プリント案の1問を差し替える候補になります。
Esquema de entrada
{
"type": "object",
"properties": {
"char": {
"type": "string",
"description": "候補を調べる字(1字)。"
},
"learningScope": {
"anyOf": [
{
"type": "object",
"properties": {
"system": {
"type": "string",
"const": "jp_elementary"
}
},
"required": [
"system"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"system": {
"type": "string",
"const": "kanken"
},
"level": {
"type": [
"number",
"string"
],
"enum": [
10,
9,
8,
7,
6,
5,
4,
3,
"pre2",
2,
"pre1",
1
]
},
"edition": {
"type": "string",
"const": "2020",
"description": "級別漢字表の版。省略時は2020年度版。"
}
},
"required": [
"system",
"level"
],
"additionalProperties": false
}
],
"description": "学習範囲。省くと教育漢字。漢検の級を指定すると、その級の範囲の問題だけを返す。"
},
"grade": {
"type": "integer",
"minimum": 1,
"maximum": 6,
"description": "教育漢字のとき、プリントの学年。省けば字の配当学年。"
},
"type": {
"type": "string",
"enum": [
"compound",
"reading",
"okurigana"
],
"description": "熟語(書き)・読み・送りがなで絞る。"
}
},
"required": [
"char"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡create_kanji_worksheet(learningScope, grade, title, chars, format, ...)
既存の問題を組み合わせて A4 1枚のプリント案を作り、問題一覧(番号・種類・問題文・答え・字)と確認用の短いリンク(30日有効)を返します。形式を省くと書きと読みのテストになります。書き・読みのテストは字数と同じ問題数(1字1問)で作ります。足りなければ questionCount(24まで)を増やして作り直します。部首・画数テスト(format=test_strokes)・熟語の構成テスト(format=test_structure。1問の差し替えはできない)・対義語・類義語テスト(format=test_pairs。1問の差し替えはできない)・同音異字テスト(format=test_homophones。1問の差し替えはできない)・四字熟語テスト(format=test_yoji・意味つきは test_yoji_meaning。1問の差し替えはできない)・誤字訂正テスト(format=test_correction。4〜2級。1問の差し替えはできない)・同訓異字テスト(format=test_kun_homophones。1問の差し替えはできない)・音と訓テスト(format=test_onkun。4〜6年か7〜5級。4年・7級は1字の形。1問の差し替えはできない)・おなじなかまの漢字テスト(format=test_radical_group。2〜4年か9・8・7級。1問の差し替えはできない)・熟語の一字テスト(format=test_jukugo。5・6年か6・5級。1問の差し替えはできない)・二つの読みテスト(format=test_two_readings。1〜4年か10〜7級・準2・2級。1問の差し替えはできない)・漢字識別テスト(format=test_shikibetsu。4・3級。1問の差し替えはできない)・熟語作りテスト(format=test_tsukuri。4〜6年か7〜5級。1問の差し替えはできない)・よみがなの一字テスト(format=test_kana_blank。1・2年か10・9級)・正しいよみがなテスト(format=test_kana_choice。1年か10級。どちらも1問の差し替えはできない)・対となかまの字テスト(format=test_char_pair。1・2年か10・9級。1問の差し替えはできない)・正しい漢字テスト(format=test_kanji_choice。2年か9級。1問の差し替えはできない)も作れます。プリントの保存と PDF の作成はしません。
Esquema de entrada
{
"type": "object",
"properties": {
"learningScope": {
"anyOf": [
{
"type": "object",
"properties": {
"system": {
"type": "string",
"const": "jp_elementary"
}
},
"required": [
"system"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"system": {
"type": "string",
"const": "kanken"
},
"level": {
"type": [
"number",
"string"
],
"enum": [
10,
9,
8,
7,
6,
5,
4,
3,
"pre2",
2,
"pre1",
1
]
},
"edition": {
"type": "string",
"const": "2020",
"description": "級別漢字表の版。省略時は2020年度版。"
}
},
"required": [
"system",
"level"
],
"additionalProperties": false
}
],
"description": "学習範囲。省くと小学校の教育漢字。漢検は {system:'kanken', level:10〜3、\"pre2\"(準2級)、2(2級)、\"pre1\"(準1級)、1(1級)}。"
},
"grade": {
"type": "integer",
"minimum": 1,
"maximum": 6,
"description": "教育漢字のプリントの学年(1〜6)。省くと字の配当学年の最大。漢検のプリントでは使わない。"
},
"title": {
"type": "string",
"minLength": 1,
"maxLength": 60,
"description": "紙面のタイトル(1〜60文字)。省くと自動で付く。テストのタイトルに出題する字が入っていると、答えが見えるため受け付けない。"
},
"chars": {
"type": "array",
"items": {
"type": "string"
},
"minItems": 1,
"maxItems": 48,
"description": "プリントに載せる字(重複なし)。テスト(書き・読み)は8〜24字、部首・画数テストは4〜6年相当(7〜5級)が6〜12字・ほかは12〜24字、練習は1〜6字。書き・読みのテストで25字以上・8字未満のときは、字の絞り方や分け方の案(proposals)を返す。部首・画数テスト(test_strokes)は6〜12・12〜24字の範囲外なら誤りを返すだけで、proposals は付かない。熟語の構成テスト(test_structure)と対義語・類義語テスト(test_pairs)は6〜22字、同音異字テスト(test_homophones)は3〜12字、四字熟語テスト(test_yoji)は6〜24字、意味つき(test_yoji_meaning)は6〜12字、誤字訂正テスト(test_correction)は6〜24字、同訓異字テスト(test_kun_homophones)は3〜12字、音と訓テスト(test_onkun)・おなじなかまの漢字テスト(test_radical_group)は6〜22字、熟語の一字テスト(test_jukugo)は6〜24字、二つの読みテスト(test_two_readings)は3〜12字、漢字識別テスト(test_shikibetsu)は5・10・15字、熟語作りテスト(test_tsukuri)は 4年・7級が6〜15字、5年・6級が2・4・6字、6年・5級が5・10・15字、よみがなの一字テスト(test_kana_blank)・正しいよみがなテスト(test_kana_choice)は6〜16字、対となかまの字テスト(test_char_pair)は6〜22字、正しい漢字テスト(test_kanji_choice)は6〜16字で、それ以外は誤りを返すだけ。"
},
"format": {
"type": "string",
"enum": [
"practice",
"test_mixed",
"test_write",
"test_read",
"test_strokes",
"test_structure",
"test_pairs",
"test_homophones",
"test_yoji",
"test_yoji_meaning",
"test_correction",
"test_kun_homophones",
"test_onkun",
"test_radical_group",
"test_jukugo",
"test_two_readings",
"test_shikibetsu",
"test_tsukuri",
"test_kana_blank",
"test_kana_choice",
"test_char_pair",
"test_kanji_choice"
],
"description": "practice(練習)・test_mixed(書きと読み)・test_write(書きだけ)・test_read(読みだけ)・test_strokes(部首・画数テスト。学年か級が必要)・test_structure(熟語の構成テスト。二字熟語の組み立てを記号で答える。5・6年か6〜2級だけ。6・5級は4型、4〜2級は5型)・test_pairs(対義語・類義語テスト。熟語の空いた字を後のひらがなから選んで漢字で書く。4〜6年か7〜2級だけ。4年・7級は対義語だけ、準2・2級は熟語まるごと。字数は6〜22字)・test_homophones(同音異字テスト。同じ音読みで字の違う2問を1組にし、カタカナの読みの漢字を書く。3〜6年か8〜2級だけ。字数は3〜12字(6〜24問)で、相手の字は自動で選ぶ)・test_yoji(四字熟語テスト。1字をカタカナにした四字熟語の、その字を漢字で書く。6年か5〜2級だけ。字数は6〜24字で、語は自動で選ぶ)・test_yoji_meaning(test_yoji に語の意味の短い文を付ける。字数は6〜12字)・test_correction(誤字訂正テスト。文の中で同じ読みの別の字にすり替えた1字を見つけ、誤字と正しい字を書く。4〜2級だけ。字数は6〜24字で、誤字は自動で選ぶ)・test_kun_homophones(同訓異字テスト。同じ訓読みで字の違う2問を1組にして漢字を書く。学年か級が必要。字数は3〜12字で、相手の字は自動で選ぶ)・test_onkun(音と訓テスト。4年・7級は漢字1字の読みが音読みか訓読みか、5・6年と6・5級は二字熟語の読みが音と音・音と訓・訓と訓・訓と音のどれかを記号で答える。4〜6年か7〜5級だけ。字数は6〜22字で、4年・7級は音読み・訓読みの読みがある字を、ほかはイ・ウ・エの語がある字を14字なら2字ずつ、22字なら3字ずつ以上入れる)・test_radical_group(おなじなかまの漢字テスト。部首を示し、同じ部首の字を語の□に書く。2〜4年か9・8・7級だけ。字数は6〜22字で、同じ部首の字を2字以上ずつ入れる)・test_jukugo(熟語の一字テスト。語の1字をカタカナにし、その字を漢字で書く。5・6年か6・5級だけで、5年・6級は三字の語、6年・5級は四字の語。字数は6〜24字で、語は自動で選ぶ)・test_two_readings(二つの読みテスト。同じ字の音読みの語と訓読みの語を2つの文で1組にし、線を引いた語の読みを書く。1〜4年か10〜7級・準2・2級だけで、字数は3〜12字。語は自動で選ぶ)・test_shikibetsu(漢字識別テスト。三つの熟語の□に共通する1字を10字の群から選んで書く。4・3級だけで、字数は5・10・15字。語とはずれの字は自動で選ぶ)・test_tsukuri(熟語作りテスト。4年・7級は上の字の前と後ろに付く字を選び肢から選び、5年・6級は同じ読みの字を群から選んで熟語を作り、6年・5級は意味の文に合う熟語を群の字で作る。4〜6年か7〜5級だけで、字数は4年・7級が6〜15字、5年・6級が2・4・6字、6年・5級が5・10・15字。語・相手の字・はずれの字は自動で選ぶ)・test_kana_blank(よみがなの一字テスト。熟語の読みの1字を□にし、ひらがな1字を書く。1・2年か10・9級だけ)・test_kana_choice(正しいよみがなテスト。正しい読みと誤りの読みから正しいほうの番号を書く。1年か10級だけ)・test_char_pair(対となかまの字テスト。対やなかまの語を手がかりに□の漢字を書く。1・2年か10・9級だけで、字数は6〜22字。手がかりは自動で選び、答えが別の問題の手がかりに見える字の組み合わせは作らない)・test_kanji_choice(正しい漢字テスト。熟語の1字をひらがなにし、正しい漢字の語と形の似た字の語から正しいほうの番号を書く。2年か9級だけで、字数は6〜16字。語と誤りの字は自動で選ぶ)。省くと test_mixed。"
},
"practiceMax": {
"type": "number",
"enum": [
3,
6
],
"description": "練習(format=practice)の1枚に載せる字数の上限。3字までなら3、6字までなら6(字の練習回数ではない)。練習のときは必須。"
},
"questionCount": {
"type": "integer",
"minimum": 1,
"maximum": 24,
"description": "テスト(test_mixed・test_write・test_read)の問題数。字数〜24。省けば字数(1字1問)。足りなければ増やして作り直す。"
}
},
"required": [
"chars"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪replace_question(proposalId, index, replacement)
プリント案の1問を同じ字の別の問題に差し替えた新しいプリント案を作り、新しい問題一覧と確認用リンクを返します。元のリンクは元の内容のまま残ります。
Esquema de entrada
{
"type": "object",
"properties": {
"proposalId": {
"type": "string",
"pattern": "^[0-9A-Za-z]{12}$",
"description": "差し替えるプリント案の ID(proposalId)。"
},
"index": {
"type": "integer",
"minimum": 0,
"maximum": 23,
"description": "差し替えるマスの位置(問題一覧の index。0始まりで、番号とは別)。手本・空白のマスは差し替えられない。"
},
"replacement": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"compound",
"reading",
"okurigana"
]
},
"char": {
"type": "string"
},
"itemId": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"type",
"char",
"itemId"
],
"additionalProperties": false,
"description": "差し替え先の問題の ref(差し替え候補の検索結果に含まれるもの)。対象マスと同じ字に限る。"
}
},
"required": [
"proposalId",
"index",
"replacement"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢find_kanji_words(query, grade, format)
字か語で、小学校の学年とテストの形式で問題にできる語を最大20件探し、書き取り・読み書きでは各語の中でその学年の紙の空欄にできる字(blankable)を添えて返します。
Esquema de entrada
{
"type": "object",
"properties": {
"query": {
"type": "string",
"minLength": 1,
"maxLength": 12,
"pattern": "^[\\p{Script=Han}\\p{Script=Hiragana}\\p{Script=Katakana}ー々]+$",
"description": "探す字か語(例:海・海岸)。"
},
"grade": {
"type": "integer",
"minimum": 1,
"maximum": 6,
"description": "プリントの学年(1〜6)。"
},
"format": {
"type": "string",
"enum": [
"test_mixed",
"test_write",
"test_read"
],
"description": "test_mixed(読み書き)・test_write(書き取り)・test_read(読み)。省くと test_mixed。"
}
},
"required": [
"query",
"grade"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡create_kanji_worksheet_from_words(words, grade, format, answers, title)
語の一覧(8〜24語)から、1語1問の漢字テスト(書き取り・読み・読み書き)の A4 1枚のプリント案を作り、問題一覧(番号・種類・問題文・答え・字)と確認用の短いリンク(30日有効)を返します。小学校の教育漢字だけです。書き取りでは answers で語ごとの空欄の字を指定できます。問題にできない語や指定の空欄で作れない語が1つでもあると案を作らず、code: unresolved_words で作れない語(words・answersRejected と理由)と残りの語(remainingWords)を返し、作れない語ごとの代わりの語(alternatives。語・種類 kind・元の語と共有する漢字 focus。学年と形式で作れる語だけ)も返します。語を外すかどうかは利用者が決めるもので、このツールが語を外して案を作ることはありません。remainingWords が8語以上なら、その語で案を作れます。リンク先の画面でも空欄を選び直せます。プリントの保存と PDF の作成はしません。
Esquema de entrada
{
"type": "object",
"properties": {
"words": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 12,
"pattern": "^[\\p{Script=Han}\\p{Script=Hiragana}\\p{Script=Katakana}ー々]+$"
},
"minItems": 8,
"maxItems": 24,
"description": "問題にする語(8〜24語・1語1問)。"
},
"grade": {
"type": "integer",
"minimum": 1,
"maximum": 6,
"description": "プリントの学年(1〜6)。"
},
"format": {
"type": "string",
"enum": [
"test_mixed",
"test_write",
"test_read"
],
"description": "test_mixed(読み書き)・test_write(書き取り)・test_read(読み)。省くと test_mixed。"
},
"answers": {
"type": "object",
"additionalProperties": {
"type": "array",
"items": {
"type": "string",
"pattern": "^\\p{Script=Han}$"
},
"minItems": 1,
"maxItems": 4
},
"propertyNames": {
"minLength": 1,
"maxLength": 12,
"pattern": "^[\\p{Script=Han}\\p{Script=Hiragana}\\p{Script=Katakana}ー々]+$"
},
"description": "書き取り(test_write)だけ。語ごとの空欄の字(1〜4字。例:{\"海岸\":[\"岸\"]})。省いた語は、その学年で書ける字を空欄にする。"
},
"title": {
"type": "string",
"minLength": 1,
"maxLength": 60,
"description": "紙面のタイトル(1〜60文字)。省くと「小学n年 漢字の復習」。答えの字が入っていると受け付けない。"
}
},
"required": [
"words",
"grade"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_kanji_study_set_rules
複数ページの写真から範囲をまとめる原稿の条件・JSON作例を返します。接続なしの原稿貼付と同じ形式です。
Esquema de entrada
{
"type": "object",
"properties": {},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡create_kanji_study_set_from_manuscript(draft)
元ページ・番号・下線ごとの全対象を1つの案にまとめ、短い確認リンクを返します。最大10枚・200対象。教材や学習セットは保存しません。利用者がサイトで確認・訂正してから印刷・保存します。
Esquema de entrada
{
"type": "object",
"properties": {
"draft": {
"description": "学習セット原稿。schemaVersion:1、grade、title、pages。各ページはid、label、expectedCount、items。itemsはnumber、part、word、reading、meaning、sentence、sentenceSource(original|generated|edited)、元の短い設問文originalSentence、任意task。"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_kanji_manuscript_rules(grade, format)
小学校1〜6年の読み・書き取り・読み書きについて、問題原稿のデータ構造、字の配当、文字数・問数の上限、検査条件と短い作例を返します。形式の省略時は全問書き取りで、送りがなも解答に含めます。読み・混合は利用者が希望した場合だけ指定します。問題の生成はしません。
Esquema de entrada
{
"type": "object",
"properties": {
"grade": {
"type": "integer",
"minimum": 1,
"maximum": 6,
"description": "プリントの学年(1〜6)。"
},
"format": {
"type": "string",
"enum": [
"test_read",
"test_write",
"test_mixed"
],
"default": "test_write",
"description": "省略時は書き取り。利用者が読み・混合を希望したときだけtest_read・test_mixedを指定。元写真の「読む」表示や赤青の区別は出題形式の指定ではありません。"
}
},
"required": [
"grade"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡create_kanji_worksheet_from_manuscript(manuscript)
完成した問題文・正答と復習対象の宣言を含む1〜40項目の原稿を検査し、A4各24問以内・最大2枚のプリント案と問題・解答の確認リンクを返します。不備があるときは案を作らず、検査結果と全対象を返します。家族のプリントの保存とPDF化はリンク先で行われます。
Esquema de entrada
{
"type": "object",
"properties": {
"manuscript": {
"description": "対象の一覧・問題文・正答・出所を含むschemaVersion=1の問題原稿。"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢inspect_math_difficulty_worksheets(grade, lang, bands, items, seed)
同じ学習目標の既存在庫から、難度ごとに複数パターンと各パターンの複数問を確認します。実問の有効な評価で絞ってからパターン数と問題数を数え、実際の問題ID・評価版・確認用指紋を返します。未評価・要確認・古い評価は難度指定の根拠にしません。パターン不足と各パターンの問題数不足を区別し、条件を自動で緩めません。難度区分の一致だけでは「同じくらい」「少し」の関係は保証しません。
Esquema de entrada
{
"type": "object",
"properties": {
"grade": {
"type": "number",
"enum": [
5,
6
],
"description": "通常の課程を履修済みとする対象学年。最初の基準は5・6年。"
},
"lang": {
"type": "string",
"const": "ja"
},
"bands": {
"type": "array",
"items": {
"type": "number",
"enum": [
1,
2,
3
]
},
"minItems": 1,
"maxItems": 3,
"description": "1基礎・2標準・3応用。各区分を別の案として返す。"
},
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"variantId": {
"type": "string",
"pattern": "^MV-\\d{6}$"
},
"patternCount": {
"type": "integer",
"minimum": 1,
"maximum": 5
},
"problemsPerPattern": {
"type": "integer",
"minimum": 1,
"maximum": 20
}
},
"required": [
"variantId",
"patternCount",
"problemsPerPattern"
],
"additionalProperties": false
},
"minItems": 1,
"maxItems": 10
},
"seed": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,48}$",
"description": "再確認時も同じ種を指定する。"
}
},
"required": [
"grade",
"lang",
"bands",
"items",
"seed"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡create_math_difficulty_worksheets(grade, lang, bands, items, seed, ...)
難度別の在庫確認と同じ入力・previewFingerprintで確認リンクを作ります。問題や評価が変わったら再確認を返します。条件を満たす難度の案だけを作り、不足の難度は理由を返します。リンク先で問題を確認して保存するとPDF・画面でとくを利用できます。
Esquema de entrada
{
"type": "object",
"properties": {
"grade": {
"type": "number",
"enum": [
5,
6
],
"description": "通常の課程を履修済みとする対象学年。最初の基準は5・6年。"
},
"lang": {
"type": "string",
"const": "ja"
},
"bands": {
"type": "array",
"items": {
"type": "number",
"enum": [
1,
2,
3
]
},
"minItems": 1,
"maxItems": 3,
"description": "1基礎・2標準・3応用。各区分を別の案として返す。"
},
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"variantId": {
"type": "string",
"pattern": "^MV-\\d{6}$"
},
"patternCount": {
"type": "integer",
"minimum": 1,
"maximum": 5
},
"problemsPerPattern": {
"type": "integer",
"minimum": 1,
"maximum": 20
}
},
"required": [
"variantId",
"patternCount",
"problemsPerPattern"
],
"additionalProperties": false
},
"minItems": 1,
"maxItems": 10
},
"seed": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,48}$",
"description": "再確認時も同じ種を指定する。"
},
"title": {
"type": "string",
"minLength": 1,
"maxLength": 60
},
"previewFingerprint": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
}
},
"required": [
"grade",
"lang",
"bands",
"items",
"seed",
"title",
"previewFingerprint"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢list_math_units(grade)
学年(1〜6)の算数の単元を教科書の順に、単元ID・名前(日本語)・作れる型の数とともに返します。
Esquema de entrada
{
"type": "object",
"properties": {
"grade": {
"type": "integer",
"minimum": 1,
"maximum": 6,
"description": "学年(1〜6)。"
}
},
"required": [
"grade"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢find_math_problem_types(grade, unitId, keywords, lang)
学年の算数の型(出題の変種)を最大20件、問うこと・数の範囲・答えの形・作れる問題の数・見本1問(問題文と答え)とともに返します。unitId か keywords のどちらかが要ります。型の説明は日本語なので、keywords は日本語の言葉で当たります。
Esquema de entrada
{
"type": "object",
"properties": {
"grade": {
"type": "integer",
"minimum": 1,
"maximum": 6,
"description": "学年(1〜6)。"
},
"unitId": {
"type": "string",
"pattern": "^MU-G([1-6])-[A-Z0-9-]+$",
"description": "単元ID(MU-G1-… の形。単元の一覧が返す ID)。"
},
"keywords": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 20
},
"minItems": 1,
"maxItems": 8,
"description": "型の名前・説明・単元の名前に当てる日本語の言葉(例: くり上がり・2けた・時こく)。"
},
"lang": {
"type": "string",
"enum": [
"ja",
"en",
"zh",
"ko",
"es"
],
"description": "見本と問題の数の言語(ja・en・zh・ko・es)。省くと ja。"
}
},
"required": [
"grade"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡create_math_worksheet(lang, title, items)
算数の型(型を探した結果の variantId)と問題数から A4 の紙の案を作り、確認用の短いURL(shareUrl)・期限を含まない完成済みのMarkdownリンク(shareLink)・別項目の有効期限(expiresAt。30日後)と、行ごとの見出し・問題数・足りない分・見本を返します。count を省いた行は1枚が埋まるまで入れます。紙が5枚を超える案は作れません。紙の保存・PDF・画面でとくはリンク先のサイトで行われます。
Esquema de entrada
{
"type": "object",
"properties": {
"lang": {
"type": "string",
"enum": [
"ja",
"en",
"zh",
"ko",
"es"
],
"description": "紙の言語(ja・en・zh・ko・es)。"
},
"title": {
"type": "string",
"minLength": 1,
"maxLength": 60,
"description": "紙の題(1〜60文字)。"
},
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"variantId": {
"type": "string",
"pattern": "^MV-\\d{6}$",
"description": "型の ID(MV- で始まる 6 桁。型を探した結果の variantId)。"
},
"count": {
"type": "integer",
"minimum": 1,
"maximum": 200,
"description": "問題数(1〜200)。省くと1枚の範囲で完全な行になる数(2列は偶数、3列は3の倍数)。"
}
},
"required": [
"variantId"
],
"additionalProperties": false
},
"minItems": 1,
"maxItems": 10,
"description": "紙に並べる型(1〜10行。同じ型は1行にまとめる)。"
}
},
"required": [
"lang",
"title",
"items"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢read_math_learning_summary(url)
保護者が diglabo で作った算数の学習のまとめ(ページの URL か ID)を読み、最近の学年・苦手な型(まちがえた問題の文と子の答えと正解つき)・克服した型・単元ごとの取り組み・最近の回の一覧を返します。苦手な型の variantId は算数の案の型の ID と同じです。子の名前は含みません。まとめは作ってから7日で読めなくなります。
Esquema de entrada
{
"type": "object",
"properties": {
"url": {
"type": "string",
"minLength": 1,
"maxLength": 300,
"description": "まとめのページの URL(https://diglabo.com/…/math-drills/s/…)か ID(22文字)。"
}
},
"required": [
"url"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}Comunidad
Evidencia