{"ok":true,"site":{"host":"shuji-bonji.github.io","url":"https://shuji-bonji.github.io/e-shiwake/","type":"live","desc":"","tools":[{"name":"search_journals","kind":"answer","impl":"imperative","description":"仕訳を全年度横断で検索する。キーワード（摘要・取引先）、勘定科目名、金額、日付（YYYY-MM-DD, YYYY-MM, MM月）で検索可能。スペース区切りでAND検索。","inputSchema":{"type":"object","properties":{"query":{"type":"string","description":"検索クエリ。例: \"Amazon\", \"消耗品費\", \"10000\", \"2025-01\", \"12月\", \"Amazon 12月\""},"fiscalYear":{"type":"number","description":"年度を指定する場合（例: 2025）。省略時は全年度を検索"}},"required":["query"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/e-shiwake/","pages":["/e-shiwake/","/e-shiwake/ledger","/e-shiwake/trial-balance","/e-shiwake/profit-loss","/e-shiwake/balance-sheet","/e-shiwake/tax-summary"]},{"name":"get_journals_by_year","kind":"answer","impl":"imperative","description":"指定した会計年度の全仕訳を取得する","inputSchema":{"type":"object","properties":{"year":{"type":"number","description":"会計年度（例: 2025）"}},"required":["year"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/e-shiwake/","pages":["/e-shiwake/","/e-shiwake/ledger","/e-shiwake/trial-balance","/e-shiwake/profit-loss","/e-shiwake/balance-sheet","/e-shiwake/tax-summary"]},{"name":"create_journal","kind":"act","impl":"imperative","description":"複合仕訳を作成する。借方合計と貸方合計は一致させること。勘定科目コードは4桁（例: 1001=現金, 5005=旅費交通費）。","inputSchema":{"type":"object","properties":{"date":{"type":"string","description":"取引日（YYYY-MM-DD形式）"},"description":{"type":"string","description":"摘要（取引内容の説明）"},"vendor":{"type":"string","description":"取引先名"},"debitLines":{"type":"array","description":"借方明細行の配列。各行は { accountCode: \"5005\", amount: 1200, taxCategory?: \"purchase_10\" }","items":{"type":"object"}},"creditLines":{"type":"array","description":"貸方明細行の配列。各行は { accountCode: \"1001\", amount: 1200, taxCategory?: \"na\" }","items":{"type":"object"}}},"required":["date","description","debitLines","creditLines"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/e-shiwake/","pages":["/e-shiwake/","/e-shiwake/ledger","/e-shiwake/trial-balance","/e-shiwake/profit-loss","/e-shiwake/balance-sheet","/e-shiwake/tax-summary"]},{"name":"delete_journal","kind":"transact","impl":"imperative","description":"仕訳を削除する","inputSchema":{"type":"object","properties":{"id":{"type":"string","description":"削除する仕訳のID"}},"required":["id"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/e-shiwake/","pages":["/e-shiwake/","/e-shiwake/ledger","/e-shiwake/trial-balance","/e-shiwake/profit-loss","/e-shiwake/balance-sheet","/e-shiwake/tax-summary"]},{"name":"list_accounts","kind":"answer","impl":"imperative","description":"勘定科目マスタ一覧を取得する。カテゴリ: asset(資産), liability(負債), equity(純資産), revenue(収益), expense(費用)","inputSchema":{"type":"object","properties":{"type":{"type":"string","description":"カテゴリでフィルタ。省略時は全科目","enum":["asset","liability","equity","revenue","expense"]}}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/e-shiwake/","pages":["/e-shiwake/","/e-shiwake/ledger","/e-shiwake/trial-balance","/e-shiwake/profit-loss","/e-shiwake/balance-sheet","/e-shiwake/tax-summary"]},{"name":"list_vendors","kind":"answer","impl":"imperative","description":"取引先一覧を取得する","inputSchema":{"type":"object","properties":{"query":{"type":"string","description":"取引先名で検索（省略時は全件）"}}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/e-shiwake/","pages":["/e-shiwake/","/e-shiwake/ledger","/e-shiwake/trial-balance","/e-shiwake/profit-loss","/e-shiwake/balance-sheet","/e-shiwake/tax-summary"]},{"name":"generate_ledger","kind":"act","impl":"imperative","description":"指定した勘定科目の総勘定元帳を生成する","inputSchema":{"type":"object","properties":{"accountCode":{"type":"string","description":"勘定科目コード（例: \"1001\"）"},"fiscalYear":{"type":"number","description":"会計年度"}},"required":["accountCode","fiscalYear"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/e-shiwake/","pages":["/e-shiwake/","/e-shiwake/ledger","/e-shiwake/trial-balance","/e-shiwake/profit-loss","/e-shiwake/balance-sheet","/e-shiwake/tax-summary"]},{"name":"generate_trial_balance","kind":"act","impl":"imperative","description":"試算表（合計残高試算表）を生成する","inputSchema":{"type":"object","properties":{"fiscalYear":{"type":"number","description":"会計年度"}},"required":["fiscalYear"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/e-shiwake/","pages":["/e-shiwake/","/e-shiwake/ledger","/e-shiwake/trial-balance","/e-shiwake/profit-loss","/e-shiwake/balance-sheet","/e-shiwake/tax-summary"]},{"name":"generate_profit_loss","kind":"act","impl":"imperative","description":"損益計算書を生成する","inputSchema":{"type":"object","properties":{"fiscalYear":{"type":"number","description":"会計年度"}},"required":["fiscalYear"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/e-shiwake/","pages":["/e-shiwake/","/e-shiwake/ledger","/e-shiwake/trial-balance","/e-shiwake/profit-loss","/e-shiwake/balance-sheet","/e-shiwake/tax-summary"]},{"name":"generate_balance_sheet","kind":"act","impl":"imperative","description":"貸借対照表を生成する","inputSchema":{"type":"object","properties":{"fiscalYear":{"type":"number","description":"会計年度"}},"required":["fiscalYear"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/e-shiwake/","pages":["/e-shiwake/","/e-shiwake/ledger","/e-shiwake/trial-balance","/e-shiwake/profit-loss","/e-shiwake/balance-sheet","/e-shiwake/tax-summary"]},{"name":"calculate_consumption_tax","kind":"act","impl":"imperative","description":"消費税集計を計算する（課税売上・課税仕入・納付税額）","inputSchema":{"type":"object","properties":{"fiscalYear":{"type":"number","description":"会計年度"}},"required":["fiscalYear"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/e-shiwake/","pages":["/e-shiwake/","/e-shiwake/ledger","/e-shiwake/trial-balance","/e-shiwake/profit-loss","/e-shiwake/balance-sheet","/e-shiwake/tax-summary"]},{"name":"get_available_years","kind":"answer","impl":"imperative","description":"データが存在する会計年度の一覧を取得する","inputSchema":{"type":"object","properties":{}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/e-shiwake/","pages":["/e-shiwake/","/e-shiwake/ledger","/e-shiwake/trial-balance","/e-shiwake/profit-loss","/e-shiwake/balance-sheet","/e-shiwake/tax-summary"]},{"name":"navigate_to","kind":"act","impl":"imperative","description":"指定したページに移動する。\n\n利用可能なページ: journal(仕訳帳), ledger(総勘定元帳), trial-balance(試算表),\nprofit-loss(損益計算書), balance-sheet(貸借対照表), tax-summary(消費税集計),\nfixed-assets(固定資産台帳), blue-return(青色申告決算書), reports(帳簿出力),\ninvoice(請求書一覧), vendors(取引先管理), accounts(勘定科目管理),\ndata(データ管理), help(ヘルプ)","inputSchema":{"type":"object","properties":{"page":{"type":"string","description":"移動先ページ名。例: \"journal\", \"ledger\", \"trial-balance\", \"profit-loss\", \"invoice\"","enum":["journal","ledger","trial-balance","profit-loss","balance-sheet","tax-summary","fixed-assets","blue-return","reports","invoice","vendors","accounts","data","help"]}},"required":["page"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/e-shiwake/","pages":["/e-shiwake/","/e-shiwake/ledger","/e-shiwake/trial-balance","/e-shiwake/profit-loss","/e-shiwake/balance-sheet","/e-shiwake/tax-summary"]},{"name":"open_journal_editor","kind":"act","impl":"imperative","description":"仕訳入力フォームを開き、指定データでプリフィルする。\nユーザーが内容を確認して確定ボタンを押すまでデータは保存されない。\n\nプリフィル項目: 日付、摘要、取引先、借方明細、貸方明細\n借方/貸方の明細行は { accountCode, amount, taxCategory?, memo? } の配列。\n\n勘定科目コード例: 1001=現金, 1003=普通預金, 1005=売掛金, 2004=未払金,\n3002=事業主貸, 4001=売上高, 5005=旅費交通費, 5006=通信費, 5011=消耗品費\n\n消費税区分: purchase_10(課仕10%), purchase_8(課仕8%), sales_10(課売10%),\nsales_8(課売8%), exempt(非課税), out_of_scope(不課税), na(対象外)","inputSchema":{"type":"object","properties":{"date":{"type":"string","description":"取引日（YYYY-MM-DD形式）。省略時は今日の日付"},"description":{"type":"string","description":"摘要（取引内容の説明）"},"vendor":{"type":"string","description":"取引先名"},"debitLines":{"type":"array","description":"借方明細行の配列。各行: { accountCode: \"5005\", amount: 1200, taxCategory?: \"purchase_10\", memo?: \"\" }","items":{"type":"object"}},"creditLines":{"type":"array","description":"貸方明細行の配列。各行: { accountCode: \"1001\", amount: 1200, taxCategory?: \"na\", memo?: \"\" }","items":{"type":"object"}}}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/e-shiwake/","pages":["/e-shiwake/","/e-shiwake/ledger","/e-shiwake/trial-balance","/e-shiwake/profit-loss","/e-shiwake/balance-sheet","/e-shiwake/tax-summary"]},{"name":"set_search_query","kind":"act","impl":"imperative","description":"仕訳帳の検索ボックスにクエリを設定し、検索結果を表示する。\n\n検索可能: 摘要・取引先（テキスト部分一致）、勘定科目名、金額、\n日付（YYYY-MM-DD, YYYY-MM, MM月, M/D）。\nスペース区切りでAND検索が可能。\n\n例: \"Amazon\", \"消耗品費\", \"10000\", \"2026-02\", \"12月\", \"Amazon 12月\"","inputSchema":{"type":"object","properties":{"query":{"type":"string","description":"検索クエリ"}},"required":["query"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/e-shiwake/","pages":["/e-shiwake/","/e-shiwake/ledger","/e-shiwake/trial-balance","/e-shiwake/profit-loss","/e-shiwake/balance-sheet","/e-shiwake/tax-summary"]},{"name":"confirm_delete_journal","kind":"transact","impl":"imperative","description":"仕訳の削除確認ダイアログを表示する。\nユーザーが確認ボタンを押すまで削除は実行されない（Human-in-the-Loop）。\n\n仕訳IDは search_journals や get_journals_by_year の結果から取得すること。","inputSchema":{"type":"object","properties":{"id":{"type":"string","description":"削除対象の仕訳ID（UUID）"}},"required":["id"]},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/e-shiwake/","pages":["/e-shiwake/","/e-shiwake/ledger","/e-shiwake/trial-balance","/e-shiwake/profit-loss","/e-shiwake/balance-sheet","/e-shiwake/tax-summary"]},{"name":"open_invoice_editor","kind":"act","impl":"imperative","description":"新規請求書エディタを開き、指定データでプリフィルする。\nユーザーが内容を確認して保存するまでデータは確定されない。\n\n明細行: { description: \"品名\", quantity: 1, unitPrice: 100000, taxRate: 10 }\ntaxRate は 10（10%）または 8（8%軽減税率）。","inputSchema":{"type":"object","properties":{"vendorId":{"type":"string","description":"取引先ID（list_vendorsで取得可能）"},"items":{"type":"array","description":"明細行の配列。各行: { description: \"品名\", quantity: 1, unitPrice: 100000, taxRate: 10 }","items":{"type":"object"}},"note":{"type":"string","description":"備考"},"dueDate":{"type":"string","description":"支払期限（YYYY-MM-DD形式）"}}},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute","page":"/e-shiwake/","pages":["/e-shiwake/","/e-shiwake/ledger","/e-shiwake/trial-balance","/e-shiwake/profit-loss","/e-shiwake/balance-sheet","/e-shiwake/tax-summary"]}],"category":"Finance & Crypto","favicon":"/favicons/shuji-bonji.github.io.svg","apiSurface":"spec","toolCount":17}}