{"ok":true,"site":{"host":"solaif-keiyakusyo-pdf.netlify.app","url":"https://solaif-keiyakusyo-pdf.netlify.app/","type":"live","desc":"","tools":[{"name":"list_contract_options","kind":"answer","impl":"imperative","description":"Read supported contract types, output languages, templates, built-in clause IDs, and bilingual editing capabilities. Use this before drafting when choices are unclear. This tool never changes the document.","title":"契約書の種類・言語・条項を確認","annotations":{"readOnlyHint":true,"untrustedContentHint":false},"inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute"},{"name":"get_contract_state","kind":"answer","impl":"imperative","description":"Read the current contract draft, including language, parties, dates, selected clauses, current Japanese/English clause wording, custom clauses, missing fields, and preview page count. Use this before a precise edit. This tool does not modify the document.","title":"現在の契約書を確認","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute"},{"name":"get_webmcp_activity","kind":"answer","impl":"imperative","description":"Read-only audit tool. Use this when the user asks whether WebMCP was really used, which WebMCP tool ran, how many tool calls occurred, or wants proof that the agent used site tools rather than ordinary browser clicking/typing. The on-page Tool Activity panel shows the same session-only audit trail.","title":"WebMCPツール実行状況を確認","annotations":{"readOnlyHint":true,"untrustedContentHint":false},"inputSchema":{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":20,"default":10}},"required":[],"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute"},{"name":"set_document_language","kind":"act","impl":"imperative","description":"Change only the contract document output language to Japanese, English, or bilingual Japanese/English. Built-in standard clause wording and headings are localized automatically. Existing party names and free-text values are never guessed or silently translated. When the user asks to convert an existing draft to bilingual, use get_contract_state, then supply known English counterparts through draft_contract *_en fields; for a user-customized clause, prefer edit_bilingual_clause so both languages stay aligned. This never exports a PDF.","title":"契約書の言語を変更","annotations":{"readOnlyHint":false,"untrustedContentHint":true},"inputSchema":{"type":"object","properties":{"language":{"type":"string","enum":["ja","en","bilingual"],"description":"ja = Japanese, en = English, bilingual = Japanese and English side by side."}},"required":["language"],"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute"},{"name":"draft_contract","kind":"act","impl":"imperative","description":"Fill or update only supplied fields. Omitted fields MUST be preserved. Do not invent unknown proper names, addresses, money amounts, dates, or legal terms; when the user’s instruction is ambiguous, ask the user instead of guessing. If contract_type changes, recommended clauses for that type are selected. If term_months is supplied without end_date, the inclusive end date is calculated automatically. For bilingual output, provide *_en fields when an English counterpart is known. This updates the preview only and never downloads or finalizes a PDF.","title":"契約書の基本情報を部分更新","annotations":{"readOnlyHint":false,"untrustedContentHint":true},"inputSchema":{"type":"object","properties":{"language":{"type":"string","enum":["ja","en","bilingual"],"description":"Optional document output language."},"contract_type":{"type":"string","enum":["service","sales","nda","lease","loan","stall","place","facility","confirm","custom"],"description":"Contract type ID."},"title":{"type":"string","description":"Document title."},"contract_date":{"type":"string","format":"date","description":"Signing date YYYY-MM-DD."},"party_a_name":{"type":"string"},"party_a_address":{"type":"string"},"party_a_representative":{"type":"string"},"party_b_name":{"type":"string"},"party_b_address":{"type":"string"},"party_b_representative":{"type":"string"},"purpose":{"type":"string","description":"Japanese purpose, or the main purpose for a single-language document."},"purpose_en":{"type":"string","description":"English counterpart used when language=bilingual."},"amount":{"type":"string","description":"Japanese amount/fee wording, or the main amount for a single-language document."},"amount_en":{"type":"string","description":"English amount/fee wording used when language=bilingual."},"payment_due":{"type":"string","description":"Japanese payment terms, or the main terms for a single-language document."},"payment_due_en":{"type":"string","description":"English payment terms used when language=bilingual."},"start_date":{"type":"string","format":"date"},"end_date":{"type":"string","format":"date","description":"Explicit end date. Takes priority over term_months."},"term_months":{"type":"integer","minimum":1,"maximum":120},"court":{"type":"string","description":"Japanese jurisdiction wording, or the main wording for a single-language document."},"court_en":{"type":"string","description":"English jurisdiction wording used when language=bilingual."},"notes":{"type":"string","description":"Japanese special provisions, or main notes for a single-language document."},"notes_en":{"type":"string","description":"English special provisions used when language=bilingual."}},"required":[],"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute"},{"name":"set_event_terms","kind":"act","impl":"imperative","description":"Update only supplied event/vendor/location-use terms for stall, place, facility, or confirmation contracts. Use this for venue, event date, operating hours, vendor role, fees, utilities, waste, permits, insurance, weather, and cancellation terms. Omitted fields are preserved. This updates the preview only.","title":"出店・イベント条件を部分更新","annotations":{"readOnlyHint":false,"untrustedContentHint":true},"inputSchema":{"type":"object","properties":{"stall_role":{"type":"string","enum":["A","B"],"description":"A = vendor/user is Party A; B = vendor/user is Party B."},"event_name":{"type":"string"},"venue_name":{"type":"string"},"venue_address":{"type":"string"},"space_size":{"type":"string"},"event_date":{"type":"string","format":"date"},"setup_time":{"type":"string"},"sales_start":{"type":"string"},"sales_end":{"type":"string"},"teardown_time":{"type":"string"},"sales_items":{"type":"string"},"fee_method":{"type":"string","enum":["free","fixed","rate","fixedrate","custom"]},"fixed_fee":{"type":"string"},"sales_rate":{"type":"string"},"custom_fee":{"type":"string"},"sales_report":{"type":"string","enum":["none","required"]},"utility_rule":{"type":"string","enum":["vendor","organizer","free","none","discuss"]},"garbage_rule":{"type":"string","enum":["vendor","organizer","ownonly","discuss"]},"permit_rule":{"type":"string","enum":["vendor","organizer","both"]},"insurance_rule":{"type":"string","enum":["recommended","none"]},"weather_rule":{"type":"string","enum":["discuss","organizer","rain"]},"cancel_rule":{"type":"string","enum":["discuss","7","14","30","none"]},"cancel_fee_rule":{"type":"string"}},"required":[],"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute"},{"name":"set_contract_clauses","kind":"act","impl":"imperative","description":"Select built-in clauses. mode=replace replaces the built-in selection; add adds clauses; remove removes clauses. This does not remove custom clauses and never exports a PDF.","title":"契約条項を選択・解除","annotations":{"readOnlyHint":false,"untrustedContentHint":true},"inputSchema":{"type":"object","properties":{"mode":{"type":"string","enum":["replace","add","remove"],"default":"add"},"clause_ids":{"type":"array","items":{"type":"string","enum":["purpose","scope","fee","repayment","latefee","term","delivery","inspection","warranty","confidential","return","ip","prohibited","liability","damages","termination","antisocial","jurisdiction"]},"minItems":1,"uniqueItems":true}},"required":["clause_ids"],"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute"},{"name":"edit_contract_clause","kind":"act","impl":"imperative","description":"Edit or reset exactly one language version of one built-in clause without changing other clauses. Use this only when the user clearly requested that language. For a bilingual document where both versions should stay semantically aligned, prefer edit_bilingual_clause. Never infer a legal condition that the user did not specify.","title":"既存条項の文章を個別修正","annotations":{"readOnlyHint":false,"untrustedContentHint":true},"inputSchema":{"type":"object","properties":{"clause_id":{"type":"string","enum":["purpose","scope","fee","repayment","latefee","term","delivery","inspection","warranty","confidential","return","ip","prohibited","liability","damages","termination","antisocial","jurisdiction"]},"language":{"type":"string","enum":["ja","en"],"default":"ja"},"title":{"type":"string","description":"Optional replacement article title."},"body":{"type":"string","description":"Optional replacement article body."},"selected":{"type":"boolean","description":"Optional: true to include the clause, false to remove it."},"reset":{"type":"boolean","description":"Reset this language version to the built-in default before applying any supplied title/body."}},"required":["clause_id"],"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute"},{"name":"manage_custom_clause","kind":"act","impl":"imperative","description":"Add, update, or delete a custom clause. For bilingual documents, call update for ja and en using the same clause_id. The tool changes only the specified custom clause and never exports a PDF.","title":"自由条項を追加・修正・削除","annotations":{"readOnlyHint":false,"untrustedContentHint":true},"inputSchema":{"type":"object","properties":{"action":{"type":"string","enum":["add","update","delete"]},"clause_id":{"type":"string","description":"Required for update/delete. Use an id returned by get_contract_state or a prior add."},"language":{"type":"string","enum":["ja","en"],"default":"ja"},"title":{"type":"string"},"body":{"type":"string"}},"required":["action"],"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute"},{"name":"edit_bilingual_clause","kind":"act","impl":"imperative","description":"Edit the Japanese and English versions of exactly one built-in clause in one operation so a bilingual document stays semantically aligned. Use when the user asks to change a clause in a bilingual document. Preserve the user’s legal meaning across both languages; do not add conditions the user did not request.","title":"日英の条項を同時に編集","annotations":{"readOnlyHint":false,"untrustedContentHint":true},"inputSchema":{"type":"object","properties":{"clause_id":{"type":"string","enum":["purpose","scope","fee","repayment","latefee","term","delivery","inspection","warranty","confidential","return","ip","prohibited","liability","damages","termination","antisocial","jurisdiction"]},"ja_title":{"type":"string"},"ja_body":{"type":"string"},"en_title":{"type":"string"},"en_body":{"type":"string"},"selected":{"type":"boolean","description":"Optional: include or remove this clause."},"reset":{"type":"boolean","description":"Reset both language versions to built-in defaults before applying supplied text."}},"required":["clause_id"],"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute"},{"name":"manage_bilingual_custom_clause","kind":"act","impl":"imperative","description":"Add or update one custom clause with Japanese and English text together. Use this for bilingual documents so the two versions remain paired. Delete may be done by clause_id.","title":"日英の自由条項を同時に管理","annotations":{"readOnlyHint":false,"untrustedContentHint":true},"inputSchema":{"type":"object","properties":{"action":{"type":"string","enum":["add","update","delete"]},"clause_id":{"type":"string"},"ja_title":{"type":"string"},"ja_body":{"type":"string"},"en_title":{"type":"string"},"en_body":{"type":"string"}},"required":["action"],"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute"},{"name":"validate_contract","kind":"answer","impl":"imperative","description":"Read-only quality check. Returns required missing fields, contradictory dates/times, bilingual translation gaps, and optional review warnings. Use before telling the user the draft is ready. This is not legal advice and does not export a PDF.","title":"契約書の未入力・矛盾を確認","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute"},{"name":"get_change_history","kind":"answer","impl":"imperative","description":"Read-only. ALWAYS use this tool when the user asks for AI/WebMCP change history, what changed, before/after values, or whether only a requested field was modified. Returns explicit field labels and before -> after values. Session-only history; this never changes the document.","title":"AI変更履歴（変更前→変更後）を確認","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"inputSchema":{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":20,"default":10}},"required":[],"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute"},{"name":"undo_last_ai_change","kind":"act","impl":"imperative","description":"Undo the most recent WebMCP/AI edit only. Use when the user says to undo, revert, restore the previous state, or \"元に戻して\". For safety, if the user manually changed fields after that AI edit, the tool will refuse unless force=true; explain the conflict before forcing. PDF export is never triggered.","title":"直前のAI変更を元に戻す","annotations":{"readOnlyHint":false,"untrustedContentHint":true},"inputSchema":{"type":"object","properties":{"force":{"type":"boolean","default":false,"description":"Set true only after the user explicitly accepts overwriting changes made after the last AI edit."}},"required":[],"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute"},{"name":"get_change_log","kind":"answer","impl":"imperative","description":"Compatibility alias for get_change_history. Read recent WebMCP change history with before/after values. Prefer get_change_history.","title":"AI変更履歴を確認（互換）","annotations":{"readOnlyHint":true,"untrustedContentHint":true},"inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute"},{"name":"add_custom_clause","kind":"act","impl":"imperative","description":"Compatibility shortcut: add one Japanese custom clause. Prefer manage_custom_clause for multilingual or later editing.","title":"自由条項を追加","annotations":{"readOnlyHint":false,"untrustedContentHint":true},"inputSchema":{"type":"object","properties":{"title":{"type":"string","minLength":1},"body":{"type":"string","minLength":1}},"required":["title","body"],"additionalProperties":false},"hasHandler":true,"hasExecute":true,"__source":"spec","executable":true,"handlerField":"execute"}],"category":"Productivity & Business","favicon":"/favicons/solaif-keiyakusyo-pdf.netlify.app.ico","apiSurface":"spec","toolCount":16}}