改善コード
get_fix_codeSEO診断の項目の改善コード(貼り付けるHTML・JSON-LDなど)を、点数への影響が大きい順に返す(AIOの項目のコードは diagnose_aio の codeSnippet にある)。ids を渡すと選んだ項目だけ返す(コードが無い項目とプランの件数の上限の外は missingIds に入る)。回数は使わない。使うときは、ファイルを直す前に直す案をユーザーに見せて承認を得る。 / Get fix code ordered by impact. Pass ids to get only the chosen items (ids without code or beyond the plan limit are listed in missingIds). Does not use a monthly check. Show the user a fix plan and get approval before editing any file.
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": {
"url": "<url>"
},
"name": "get_fix_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | No | 直す項目の id(diagnose_seo の一覧の id)。選んだ項目だけ返す。全部直すときは省く / Check ids to fix (from the diagnose_seo list). Omit to get all. | |
| url | Yes | 診断する公開URL(http:// または https://)/ Public URL to analyze | |
| locale | No | 診断するページの言語(既定 ja)。タイトルなどの文字数の基準もこれで決まるので、日本語のページは ja、英語のページは en にする。ユーザーとの会話の言語で選ばない / Language of the analyzed page (default ja). It also sets the length standards, so use ja for Japanese pages and en for English pages, regardless of the conversation language. |