Keith APIs: web to Markdown, OG images, job & resume parsing, ratings
v0.1.1Web page to Markdown, link previews, OG images, job and resume parsing, Elo/Glicko-2 ratings
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
fetch_url_as_markdown Web page to Markdown
Fetch a public web page and return its main content as clean Markdown (navigation, ads and boilerplate removed), with the title and metadata. Use it to read an article or docs page for summarising, quoting or RAG. Respects robots.txt.
| Parameter | Type | Description |
|---|---|---|
url * | string | http(s) URL of the page |
include_images | boolean | Keep images in the Markdown (default false) |
include_links | boolean | Keep hyperlinks in the Markdown (default false) |
max_chars | integer | Truncate the Markdown (default 100,000) |
html_to_markdown HTML to Markdown
Convert HTML you already have into clean Markdown of its main content. Nothing is fetched.
| Parameter | Type | Description |
|---|---|---|
html * | string | The page's HTML |
base_url | string | URL the HTML came from, used to resolve relative links |
include_images | boolean | |
include_links | boolean | |
max_chars | integer |
get_link_preview Link preview
Get a link preview for a URL: title, description, canonical URL, images, favicon, site name, Open Graph and Twitter card tags.
| Parameter | Type | Description |
|---|---|---|
url * | string | http(s) URL to preview |
generate_og_image Generate Open Graph image
Render a 1200x630 PNG Open Graph (og:image) share image from a title, for link previews on X, LinkedIn, Facebook, Slack and Discord. Returns the image.
| Parameter | Type | Description |
|---|---|---|
title * | string | Headline, wraps to up to 3 lines |
badge | string | Small label above the title, e.g. NEW or GUIDE |
footer | string | Bottom-left text, usually a domain |
subtitle | string | Second line under the title |
theme | string | Colour theme (default dark) |
parse_job_posting Parse a job posting
Parse a job ad into structured fields: normalized title, seniority, job function, remote type and allowed regions, salary (min/max, currency, annualised), years of experience, skills and flags.
| Parameter | Type | Description |
|---|---|---|
title * | string | Job title exactly as posted |
company | string | Company name |
description | string | Full job description, text or HTML; salary, skills and flags come from it |
location | string | Location as posted, e.g. 'Remote - US' or 'Hybrid (London)' |
parse_job_postings_batch Parse job postings (batch)
Parse 1 to 20 job postings in one call; results come back in the same order.
| Parameter | Type | Description |
|---|---|---|
postings * | array |
parse_resume Parse a resume / CV
Parse a resume into structured JSON: contact details, current title, seniority, job function, experience, education and skills. Give either the text or a local file path (PDF with a text layer, DOCX or TXT, max 5 MB; no OCR). Nothing is stored.
| Parameter | Type | Description |
|---|---|---|
file_path | string | Path to a local PDF, DOCX or TXT file |
text | string | The resume as plain text |
match_resume_to_job Score a resume against a job
Score how well a resume fits a job posting, 0-100, with a breakdown (skills, seniority, job function, experience, location) and the matched and missing skills.
| Parameter | Type | Description |
|---|---|---|
job * | object | The job posting |
resume * | The resume as plain text, or the JSON returned by parse_resume |
rate_matches Rate match results
Compute player skill ratings from match results with OpenSkill, Glicko-2 or Elo. Handles 1v1, teams, free-for-alls and draws. Stateless: pass earlier ratings back in as players to continue.
| Parameter | Type | Description |
|---|---|---|
matches * | array | |
algorithm | string | openskill (default, Weng-Lin, for teams and free-for-alls), glicko2, elo, or custom (Club Points) |
params | object | Algorithm parameter overrides, e.g. {"k": 24} for Elo |
players | object | Ratings from a previous rate_matches call, keyed by player id; unknown players start at the default |
predict_match Predict a matchup
Predict each team's win probability and the match quality (how even it is) from current ratings.
| Parameter | Type | Description |
|---|---|---|
teams * | array | |
algorithm | string | openskill (default, Weng-Lin, for teams and free-for-alls), glicko2, elo, or custom (Club Points) |
params | object | Algorithm parameter overrides, e.g. {"k": 24} for Elo |
players | object | Ratings from a previous rate_matches call, keyed by player id; unknown players start at the default |
list_rating_algorithms List rating algorithms
List the supported rating algorithms and their tunable parameters with defaults and ranges.