suggest_internal_links
Find top internal link opportunities for each page in a folder using TF-IDF similarity on titles and headings, with anchor text suggestions.
Instructions
Suggest top-K internal links to add to each page in a folder.
Uses TF-IDF cosine similarity over <title>, headings, and
meta description. Excludes links the source already has, plus
the page itself. Returns suggestions for page only if
provided, otherwise for every page.
Each suggestion includes a cheap anchor_hint derived from
terms shared between source headings and target title.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| folder | Yes | ||
| page | No | ||
| pattern | No | *.html | |
| top_k | No | ||
| limit | No | ||
| site_host | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||