# MCPツールリファレンス

> KNWN MCP接続から呼び出せるすべてのツールを、パラメーターとともに掲載しています。サーバーの最新のカタログから生成されています。

https://knwn.app/docs/mcp-tools?lang=ja
2026年11月26日 更新 · 20 分で読めます

## このリファレンスの読み方

MCPキーとOAuth接続は、66個のツールを使えます。内訳は32個の読み取りツールと34個の書き込みツールです。このページはサーバー自身のカタログから作られているため、アシスタントに表示される内容と常に一致します。

- 読み取りツールは何も変更しません。読み取り専用キーには、これらだけが表示されます。読み取り専用のOAuthでは、書き込みツールも「追加のアクセスが必要」と示されて表示されます。
- 書き込みツールには、「変更とAIジョブ」のアクセス権と`request_id`（UUID）が必要です。同じIDで呼び出しを繰り返すと、保存済みの結果が返されます。
- コストまたは外部サービスが表示されているツールは、先に承認を求めます。
- `project_id`は`list_projects`から取得します。キー、または1つのプロジェクトだけの接続では、自動的に入力されます。
- 自動収集、レポートのタイムゾーン、月間予算など、一部のオーナー設定は MCP キーや OAuth 接続からは変更できません。アプリで変更してください。

## ディスカバリーとアクセス

最初に使う: 接続がどのプロジェクトをカバーし、何を許可されているか。

### `list_projects` (読み取り)

List projects

List KNWN projects available to the signed-in account or project key.

パラメーターなし。

### `get_project` (読み取り)

Get project

Read the project, competitors with their IDs, tracked prompts (ID, text, topic, engines, status), usable engines and the latest scan. Use list_prompts for full prompt settings. Does not return credentials.

| パラメーター | 型 | 必須 | 説明 |
| --- | --- | --- | --- |
| `project_id` | UUID | 複数のプロジェクトの場合 | Project ID returned by list_projects or create_project. |

### `account_status` (読み取り)

Access, credits and limits

What this connection can do and what remains: access (scope, role, whether changes and paid jobs are allowed), tracking credits, answers collected this month against the project budget, prompts, usable engines and requests left this minute. Check before paid work.

| パラメーター | 型 | 必須 | 説明 |
| --- | --- | --- | --- |
| `project_id` | UUID | 複数のプロジェクトの場合 | Project ID returned by list_projects or create_project. |

### `project_readiness` (読み取り)

Project readiness

Read project capability configuration and observed data. Configured credentials are not proof of a successful provider call.

| パラメーター | 型 | 必須 | 説明 |
| --- | --- | --- | --- |
| `project_id` | UUID | 複数のプロジェクトの場合 | Project ID returned by list_projects or create_project. |

### `get_operation` (読み取り)

Get write receipt

Read this MCP key’s durable write receipt. A running receipt may have an uncertain outcome after interruption; inspect saved records before considering another operation.

| パラメーター | 型 | 必須 | 説明 |
| --- | --- | --- | --- |
| `project_id` | UUID | 複数のプロジェクトの場合 | Project ID returned by list_projects or create_project. |
| `request_id` | UUID | はい | UUID generated once per intended action; reuse it unchanged when retrying. |

## レポート

計測された可視性、競合、ソース。すべて共通のフィルターを使えます。

### `visibility_report` (読み取り)

Visibility summary

Compact summary for the project brand and competitors: visibility, share of voice, position, sentiment and citations, with change from the preceding period over the matched answers. comparison says what the change covers (matched, new, dropped and failed answers, engine model or channel switches) and whether each change is clear (direction). Returns brands, engines, topics and actions by default; add sections for prompts, sources, trend, fan-out insights and more.

| パラメーター | 型 | 必須 | 説明 |
| --- | --- | --- | --- |
| `project_id` | UUID | 複数のプロジェクトの場合 | Project ID returned by list_projects or create_project. |
| `filters` | object — see Filters |  | Optional. Default: last 30 days, all engines and markets, compared with the preceding period. |
| `sections` | list of values from `brands`, `engines`, `topics`, `prompts`, `actions`, `domains`, `pages`, `trend`, `recent`, `insights`, `facets`, `annotations`, `all`, 1–13 items |  | Sections to include; default brands, engines, topics, actions. prompts: per-prompt results with example and gap answer IDs. domains/pages: cited sources. trend: daily visibility per brand. recent: latest answers. insights: search fan-out queries, untracked brands, retrieved and inline sources, shopping and ads. all: everything. |
| `limit` | integer 1–250 |  | Maximum rows per list section; default 3. rowsOmitted names additional rows; request a larger limit or a focused section to read them. |

**戻り値** `range`, `truncated`, `count`, `previousCount`, `outcomes`, `metrics`, `comparison`, `provenance`, `coverage`, `evidence`, `imported`, `branding`, `brands`, `engines`, `sections`

### `brand_report` (読み取り)

Brand comparison table

One table of every tracked brand’s visibility, share of voice, average position and sentiment counts, optionally split by up to four of engine, topic, day, week, month, country, prompt, tag, persona or language, with change from the preceding period. Answers competitor-by-engine or competitor-by-topic questions in one call.

| パラメーター | 型 | 必須 | 説明 |
| --- | --- | --- | --- |
| `project_id` | UUID | 複数のプロジェクトの場合 | Project ID returned by list_projects or create_project. |
| `filters` | object — see Filters |  | Optional. Default: last 30 days, all engines and markets, compared with the preceding period. |
| `group_by` | one of `engine`, `method`, `topic`, `day`, `week`, `month`, `country`, `prompt`, `tag`, `persona`, `language` |  | Dimension for one row per group and brand; omit for overall totals. week starts Monday; month is YYYY-MM. |
| `then_by` | one of `engine`, `method`, `topic`, `day`, `week`, `month`, `country`, `prompt`, `tag`, `persona`, `language` |  | Optional second dimension, such as engine within topic or week. |
| `dimensions` | list of values from `engine`, `method`, `topic`, `day`, `week`, `month`, `country`, `prompt`, `tag`, `persona`, `language`, 1–4 items |  | Up to four dimensions in order, such as ["topic", "engine", "week"]; replaces group_by and then_by. |
| `brands` | list of string, 1–253 characters, 0–20 items |  | Only rows for these brand names, aliases or domains. |
| `prompt_id` | UUID |  | Only answers to this tracked prompt. |
| `limit` | integer 1–500 |  | Rows per page; default 100. |
| `offset` | integer 0–1000000 |  | Rows to skip when paging. |

**戻り値** `range`, `truncated`, `columns`, `rows`, `rowCount`, `totalCount`, `offset`, `limit`, `hasMore`, `groupBy`, `answers`

### `citation_report` (読み取り)

Citation sources and gaps

Cited domains or pages ranked by citations or gaps, labelled owned, competitor or earned. gap_answers counts answers that cite the source and name a competitor but not your brand; quote one with get_answer using example_answer_id.

| パラメーター | 型 | 必須 | 説明 |
| --- | --- | --- | --- |
| `project_id` | UUID | 複数のプロジェクトの場合 | Project ID returned by list_projects or create_project. |
| `filters` | object — see Filters |  | Optional. Default: last 30 days, all engines and markets, compared with the preceding period. |
| `level` | one of `domain`, `url` |  | domain (default) or url for individual pages. |
| `type` | one of `owned`, `competitor`, `earned` |  | Only owned, competitor or earned sources. |
| `gap_only` | boolean |  | Only sources with gap answers, sorted by gap_answers. |
| `sort` | one of `citations`, `answers`, `gap`, `gap_rate` |  | citations (default), answers, gap or gap_rate. |
| `category` | string, up to 70 characters |  | Only sources labelled with this category (see save_source_rule). |
| `source` | one of `citations`, `links`, `retrieved` |  | citations (default): sources answers cite; links: URLs written into answer text; retrieved: pages engines retrieved. |
| `prompt_id` | UUID |  | Only answers to this tracked prompt. |
| `limit` | integer 1–250 |  | Rows per page; default 25. |
| `offset` | integer 0–1000000 |  | Rows to skip when paging. |

**戻り値** `range`, `truncated`, `columns`, `rows`, `rowCount`, `totalCount`, `offset`, `limit`, `hasMore`, `level`, `answers`, `citedAnswers`

### `fanout_report` (読み取り)

Search fan-out queries

Search fan-out queries the engines ran while answering, or two-word terms, with their answers and share of the answers with a captured search, the change in percentage points and status (new, rising, steady, declining, lost) versus the preceding period, and how often those answers mention your brand. Status and change are null, with statusReason, when the periods cannot be compared or the preceding one has no searched answers; new can mean a newly tracked prompt.

| パラメーター | 型 | 必須 | 説明 |
| --- | --- | --- | --- |
| `project_id` | UUID | 複数のプロジェクトの場合 | Project ID returned by list_projects or create_project. |
| `filters` | object — see Filters |  | Optional. Default: last 30 days, all engines and markets, compared with the preceding period. |
| `view` | one of `queries`, `terms` |  | queries (default) or terms. |
| `status` | one of `new`, `rising`, `steady`, `declining`, `lost` |  | Only this trend. |
| `contains` | string, up to 120 characters |  | Only queries containing this text. |
| `prompt_id` | UUID |  | Only answers to this tracked prompt. |
| `limit` | integer 1–250 |  | Rows per page or section; default 25. |
| `offset` | integer 0–1000000 |  | Rows to skip when paging. |

**戻り値** `range`, `truncated`, `columns`, `rows`, `rowCount`, `totalCount`, `offset`, `limit`, `hasMore`, `view`, `answers`, `searchedAnswers`

### `source_detail` (読み取り)

Source deep dive

Deep dive into one cited domain or page: citation trend, engines, prompts, brands named alongside, its pages and the answers citing it, compared with the preceding period.

| パラメーター | 型 | 必須 | 説明 |
| --- | --- | --- | --- |
| `project_id` | UUID | 複数のプロジェクトの場合 | Project ID returned by list_projects or create_project. |
| `filters` | object — see Filters |  | Optional. Default: last 30 days, all engines and markets, compared with the preceding period. |
| `domain` | string, up to 253 characters |  | A cited domain, such as g2.com. |
| `url` | string, up to 2000 characters |  | An exact cited page URL. |
| `limit` | integer 1–100 |  | Rows per page or section; default 10. |

### `compare_competitor` (読み取り)

Head-to-head with a competitor

Head-to-head with one competitor: answers naming only you, only them, both or neither, by topic, prompt and the sources cited when only they appear. Add focus_kind/focus_value or outcome to list matching answers.

| パラメーター | 型 | 必須 | 説明 |
| --- | --- | --- | --- |
| `project_id` | UUID | 複数のプロジェクトの場合 | Project ID returned by list_projects or create_project. |
| `filters` | object — see Filters |  | Optional. Default: last 30 days, all engines and markets, compared with the preceding period. |
| `competitor` | string, 1–253 characters | はい | Competitor name, alias, domain or ID. |
| `outcome` | one of `competitorOnly`, `ownOnly`, `both`, `neither` |  | Only answers with this outcome in evidence. |
| `focus_kind` | one of `topic`, `prompt`, `source` |  | What focus_value names. |
| `focus_value` | string, up to 2000 characters |  | Topic name, prompt ID or cited domain. |
| `limit` | integer 1–100 |  | Rows per page or section; default 10. |

### `brand_perception` (読み取り)

Brand perception

Get brand attributes, objection themes and fact-check evidence.

| パラメーター | 型 | 必須 | 説明 |
| --- | --- | --- | --- |
| `project_id` | UUID | 複数のプロジェクトの場合 | Project ID returned by list_projects or create_project. |
| `filters` | object — see Filters |  | Optional. Default: last 30 days, all engines and markets, compared with the preceding period. |

### `page_inventory` (読み取り)

Page inventory

Get project pages, citation counts, traffic and the latest audit status.

| パラメーター | 型 | 必須 | 説明 |
| --- | --- | --- | --- |
| `project_id` | UUID | 複数のプロジェクトの場合 | Project ID returned by list_projects or create_project. |
| `filters` | object — see Filters |  | Optional. Default: last 30 days, all engines and markets, compared with the preceding period. |

### `social_citations` (読み取り)

Social citations

Get cited social posts and tracked-channel performance for a project.

| パラメーター | 型 | 必須 | 説明 |
| --- | --- | --- | --- |
| `project_id` | UUID | 複数のプロジェクトの場合 | Project ID returned by list_projects or create_project. |
| `filters` | object — see Filters |  | Optional. Default: last 30 days, all engines and markets, compared with the preceding period. |

## 回答とエビデンス

あらゆる数値の裏にある保存済みの回答。

### `list_answers` (読み取り)

List answers

List answers newest first with prompt, engine, day and whether your brand was mentioned. With brands, brand_absent, gap_only, cites, sentiment or limit, rows also give your position and sentiment, the brands named in order and cited domains. Use get_answer for the text.

| パラメーター | 型 | 必須 | 説明 |
| --- | --- | --- | --- |
| `project_id` | UUID | 複数のプロジェクトの場合 | Project ID returned by list_projects or create_project. |
| `filters` | object — see Filters |  | Optional. Default: last 30 days, all engines and markets, compared with the preceding period. |
| `brands` | list of string, 1–253 characters, 1–5 items |  | Only answers naming all of these brands (names, aliases or domains). |
| `brand_absent` | boolean |  | Only answers that do not mention your brand. |
| `gap_only` | boolean |  | Only answers naming a competitor but not your brand. |
| `cites` | string, up to 253 characters |  | Only answers citing this domain. |
| `sentiment` | one of `positive`, `neutral`, `negative` |  | Only answers where your brand has this sentiment. |
| `page` | integer 1–10000 |  | Page number; 30 answers per page. A page past the end is empty. |
| `cursor` | string, 1–600 characters |  | nextCursor from the previous page: the next page of the same snapshot, with no repeats. |
| `limit` | integer 1–100 |  | Answers per page; default 30. |

### `get_answer` (読み取り)

Get answer evidence

Get one answer’s text, brand mentions with position and sentiment, source citations and search fan-out queries.

| パラメーター | 型 | 必須 | 説明 |
| --- | --- | --- | --- |
| `project_id` | UUID | 複数のプロジェクトの場合 | Project ID returned by list_projects or create_project. |
| `answer_id` | UUID | はい | Answer ID from list_answers, citation_report or visibility_report. |

## 需要、トラフィック、アナリティクス

AI検索の需要、AIクローラーとリファラルのトラフィック、Googleおよびピクセルによる分析。

### `search_volume` (読み取り)

AI search volume

Saved monthly AI search volume estimates per keyword and market, with the latest month, change, average and intent (saved, or estimated from the keyword). group_by intent returns each intent’s share of AI searches.

| パラメーター | 型 | 必須 | 説明 |
| --- | --- | --- | --- |
| `project_id` | UUID | 複数のプロジェクトの場合 | Project ID returned by list_projects or create_project. |
| `market` | one of `US`, `GB`, `CA`, `AU`, `DE`, `FR`, `ES`, `IT`, … (61 values) |  | Only this market. |
| `keyword` | string, up to 120 characters |  | Only keywords containing this text. |
| `group_by` | one of `intent` |  | intent: totals and share of the latest month per intent. |
| `limit` | integer 1–500 |  | Rows per page; default 50. |
| `offset` | integer 0–1000000 |  | Rows to skip when paging. |

**戻り値** `range`, `truncated`, `columns`, `rows`, `rowCount`, `totalCount`, `offset`, `limit`, `hasMore`

### `lookup_search_volume` (書き込み · AI使用量を使う)

Look up AI search volume

estimate monthly AI search volume for up to eight keywords in one market and save the results. Uses AI usage to estimate search volumes; ask first.

| パラメーター | 型 | 必須 | 説明 |
| --- | --- | --- | --- |
| `project_id` | UUID | 複数のプロジェクトの場合 | Project ID returned by list_projects or create_project. |
| `keywords` | list of string, 1–120 characters, 1–8 items | はい | Keywords or short questions. |
| `market` | one of `US`, `GB`, `CA`, `AU`, `DE`, `FR`, `ES`, `IT`, … (61 values) | はい | Market to estimate. |
| `request_id` | UUID | はい | UUID generated once per intended action; reuse it unchanged when retrying. |

### `save_search_volumes` (書き込み)

Import AI search volumes

Save AI search volume rows you already have, such as an export from a keyword tool, with an optional intent. A row with the same keyword, market, month and source is replaced.

| パラメーター | 型 | 必須 | 説明 |
| --- | --- | --- | --- |
| `project_id` | UUID | 複数のプロジェクトの場合 | Project ID returned by list_projects or create_project. |
| `rows` | list of object { keyword: string, 1–120 characters; market: one of `US`, `GB`, `CA`, `AU`, `DE`, `FR`, `ES`, `IT`, … (61 values); month: string, 7–7 characters; volume: integer 0–1000000000; source?: string, up to 120 characters; intent?: one of `Branded`, `Comparison`, `Transactional`, `Discovery`, `Informational` }, 1–100 items | はい | Up to 100 rows. |
| `request_id` | UUID | はい | UUID generated once per intended action; reuse it unchanged when retrying. |

### `ai_traffic_report` (読み取り)

AI crawler and referral traffic

AI crawler visits (crawl) and AI-assistant referrals (referral) to the project website from imported request logs, grouped by platform, path, day or kind, with change from the preceding period. Referrals count requests whose referrer is a known AI service (utm_source is not read); GA4 sessions are in analytics_report and count differently. Crawler names come from user agents, which can be faked: report verified requests, and the mismatched and unchecked ones separately.

| パラメーター | 型 | 必須 | 説明 |
| --- | --- | --- | --- |
| `project_id` | UUID | 複数のプロジェクトの場合 | Project ID returned by list_projects or create_project. |
| `period` | object `{ days, start, end }` — see Filters |  | Optional. Default: last 30 days. |
| `group_by` | one of `platform`, `path`, `day`, `kind` |  | Default platform. |
| `kind` | one of `crawl`, `referral` |  | Only crawler visits or only referrals. |
| `platform` | string, up to 80 characters |  | Only this platform, such as GPTBot or ChatGPT. |
| `limit` | integer 1–500 |  | Rows per page; default 50. |
| `offset` | integer 0–1000000 |  | Rows to skip when paging. |

**戻り値** `range`, `truncated`, `columns`, `rows`, `rowCount`, `totalCount`, `offset`, `limit`, `hasMore`, `requests`

### `analytics_report` (読み取り)

Analytics referrals and conversions

GA4 sessions from AI assistants, Search Console clicks or pixel conversions, grouped by source, landing path or day, with change from the preceding period.

| パラメーター | 型 | 必須 | 説明 |
| --- | --- | --- | --- |
| `project_id` | UUID | 複数のプロジェクトの場合 | Project ID returned by list_projects or create_project. |
| `period` | object `{ days, start, end }` — see Filters |  | Optional. Default: last 30 days. |
| `dataset` | one of `ga4`, `gsc`, `conversion` |  | ga4 (default), gsc or conversion. |
| `group_by` | one of `source`, `path`, `day` |  | Default source (path for gsc). |
| `limit` | integer 1–500 |  | Rows per page or section; default 50. |
| `offset` | integer 0–1000000 |  | Rows to skip when paging. |

**戻り値** `range`, `truncated`, `columns`, `rows`, `rowCount`, `totalCount`, `offset`, `limit`, `hasMore`, `dataset`, `connected`, `totals`

### `sync_google_analytics` (書き込み · Googleからのインポート)

Import Google analytics

import GA4 AI-referral sessions or Search Console clicks for the period from the connected Google property. Calls Google; ask first.

| パラメーター | 型 | 必須 | 説明 |
| --- | --- | --- | --- |
| `project_id` | UUID | 複数のプロジェクトの場合 | Project ID returned by list_projects or create_project. |
| `dataset` | one of `ga4`, `gsc` | はい | Which Google source to import. |
| `period` | object `{ days, start, end }` — see Filters |  | Optional. Default: last 30 days. |
| `request_id` | UUID | はい | UUID generated once per intended action; reuse it unchanged when retrying. |

## トラッキングの設定

プロンプト、プロンプトのディスカバリー、競合、ブランドプロフィール。

### `list_prompts` (読み取り)

List prompts

List tracked prompts with ID, text, topic, tags, engines, market, language, persona and status, newest first. Narrow with topic, tag, active or contains.

| パラメーター | 型 | 必須 | 説明 |
| --- | --- | --- | --- |
| `project_id` | UUID | 複数のプロジェクトの場合 | Project ID returned by list_projects or create_project. |
| `topic` | string, up to 70 characters |  | Only this topic. |
| `tag` | string, up to 80 characters |  | Only prompts with this tag. |
| `active` | boolean |  | Only active (true) or paused (false) prompts. |
| `contains` | string, up to 120 characters |  | Only prompts containing this text. |

### `suggest_prompts` (読み取り)

Suggest prompts

Suggest questions to track from KNWN templates for the project, a topic and a market, leaving out prompts already tracked. Does not call a model or save anything; track the chosen ones with create_prompts.

| パラメーター | 型 | 必須 | 説明 |
| --- | --- | --- | --- |
| `project_id` | UUID | 複数のプロジェクトの場合 | Project ID returned by list_projects or create_project. |
| `topic` | string, up to 70 characters |  | Topic or category; default the project industry. |
| `country` | one of `GLOBAL`, `US`, `GB`, `CA`, `AU`, `DE`, `FR`, `ES`, … (62 values) |  | Market to ask from. |
| `language` | one of `""`, `en`, `es`, `fr`, `de`, `it`, `pt`, `nl`, `sv`, `pl`, `cs`, `ro`, `el`, `tr`, … (28 values) |  | Question language code. Chat models receive an Answer language line; Google AI Overviews and AI Mode search in this language. |
| `persona` | string, up to 120 characters |  | Optional persona, sent to chat models as an Audience context line before the question; Google AI Overviews and AI Mode search the question as written. |
| `purpose` | one of `visibility`, `perception`, `objections`, `factcheck` |  | Prompt purpose. |
| `engines` | list of values from `chatgpt`, `perplexity`, `gemini`, `claude`, `copilot`, `grok`, `deepseek`, `meta`, `overview`, `google`, `perplexity_ui`, `naver`, `ernie`, `bing_ai`, … (40 values), 1–40 items |  | Engine IDs to collect answers from. |

### `create_prompt` (書き込み)

Track a prompt

Add an active tracked prompt, or reuse its exact existing configuration. Conflicting or paused matches require update_prompt. Do not call concurrently for the same prompt.

| パラメーター | 型 | 必須 | 説明 |
| --- | --- | --- | --- |
| `project_id` | UUID | 複数のプロジェクトの場合 | Project ID returned by list_projects or create_project. |
| `text` | string, 1–600 characters | はい | The question, worded as a user would ask an assistant. |
| `topic` | string, 1–70 characters | はい | Topic used to group results. |
| `engines` | list of values from `chatgpt`, `perplexity`, `gemini`, `claude`, `copilot`, `grok`, `deepseek`, `meta`, `overview`, `google`, `perplexity_ui`, `naver`, `ernie`, `bing_ai`, … (40 values), 1–40 items | はい | Engine IDs to collect answers from. |
| `country` | one of `GLOBAL`, `US`, `GB`, `CA`, `AU`, `DE`, `FR`, `ES`, … (62 values) |  | Market to ask from. |
| `tags` | list of string, 1–80 characters, 0–8 items |  | Labels for filtering. |
| `language` | one of `""`, `en`, `es`, `fr`, `de`, `it`, `pt`, `nl`, `sv`, `pl`, `cs`, `ro`, `el`, `tr`, … (28 values) |  | Question language code. Chat models receive an Answer language line; Google AI Overviews and AI Mode search in this language. |
| `persona` | string, up to 120 characters |  | Optional persona, sent to chat models as an Audience context line before the question; Google AI Overviews and AI Mode search the question as written. |
| `purpose` | one of `visibility`, `perception`, `objections`, `factcheck` |  | Prompt purpose. |
| `thinking` | object mapping each key to one of `off`, `minimal`, `low`, `medium`, `high` |  | Thinking level per selected API model, such as {"claude_sonnet":"high"}: off, minimal, low, medium or high, as the model offers. Omitted models use the provider default level. Higher levels cost more credits. |
| `request_id` | UUID | はい | UUID generated once per intended action; reuse it unchanged when retrying. |

### `create_prompts` (書き込み)

Track prompts in bulk

Track up to 25 prompts in one call. Each item is created, reused (an identical active prompt exists), conflict (a paused or differently configured match; use update_prompt) or duplicate (repeated in the request). preview true saves nothing and returns the plan, including prompt-limit problems; then repeat with preview false.

| パラメーター | 型 | 必須 | 説明 |
| --- | --- | --- | --- |
| `project_id` | UUID | 複数のプロジェクトの場合 | Project ID returned by list_projects or create_project. |
| `prompts` | list of object { text: string, 1–600 characters; topic: string, 1–70 characters; engines: list of values from `chatgpt`, `perplexity`, `gemini`, `claude`, `copilot`, `grok`, `deepseek`, `meta`, `overview`, `google`, `perplexity_ui`, `naver`, `ernie`, `bing_ai`, … (40 values), 1–40 items; country?: one of `GLOBAL`, `US`, `GB`, `CA`, `AU`, `DE`, `FR`, `ES`, … (62 values); tags?: list of string, 1–80 characters, 0–8 items; language?: one of `""`, `en`, `es`, `fr`, `de`, `it`, `pt`, `nl`, `sv`, `pl`, `cs`, `ro`, `el`, `tr`, … (28 values); persona?: string, up to 120 characters; purpose?: one of `visibility`, `perception`, `objections`, `factcheck`; thinking?: object mapping each key to one of `off`, `minimal`, `low`, `medium`, `high` }, 1–25 items | はい | Prompts to track. |
| `preview` | boolean |  | true returns the plan without saving. |
| `request_id` | UUID | はい | UUID generated once per intended action; reuse it unchanged when retrying. |

### `update_prompt` (書き込み)

Update prompt

Update a tracked prompt or pause/resume it. Preserves omitted fields and does not collect answers.

| パラメーター | 型 | 必須 | 説明 |
| --- | --- | --- | --- |
| `project_id` | UUID | 複数のプロジェクトの場合 | Project ID returned by list_projects or create_project. |
| `prompt_id` | UUID | はい | Tracked prompt ID from list_prompts. |
| `text` | string, 1–600 characters |  | The question, worded as a user would ask an assistant. |
| `topic` | string, 1–70 characters |  | Topic used to group results. |
| `engines` | list of values from `chatgpt`, `perplexity`, `gemini`, `claude`, `copilot`, `grok`, `deepseek`, `meta`, `overview`, `google`, `perplexity_ui`, `naver`, `ernie`, `bing_ai`, … (40 values), 1–40 items |  | Engine IDs to collect answers from. |
| `country` | one of `GLOBAL`, `US`, `GB`, `CA`, `AU`, `DE`, `FR`, `ES`, … (62 values) |  | Market to ask from. |
| `tags` | list of string, 1–80 characters, 0–8 items |  | Labels for filtering. |
| `language` | one of `""`, `en`, `es`, `fr`, `de`, `it`, `pt`, `nl`, `sv`, `pl`, `cs`, `ro`, `el`, `tr`, … (28 values) |  | Question language code. Chat models receive an Answer language line; Google AI Overviews and AI Mode search in this language. |
| `persona` | string, up to 120 characters |  | Optional persona, sent to chat models as an Audience context line before the question; Google AI Overviews and AI Mode search the question as written. |
| `purpose` | one of `visibility`, `perception`, `objections`, `factcheck` |  | Prompt purpose. |
| `thinking` | object mapping each key to one of `off`, `minimal`, `low`, `medium`, `high` |  | Thinking level per selected API model, such as {"claude_sonnet":"high"}: off, minimal, low, medium or high, as the model offers. Omitted models use the provider default level. Higher levels cost more credits. |
| `active` | boolean |  | false pauses the prompt; true resumes it. |
| `request_id` | UUID | はい | UUID generated once per intended action; reuse it unchanged when retrying. |

### `organize_prompts` (書き込み)

Organize prompts in bulk

Change up to 100 tracked prompts at once: set a topic, add or remove tags, or pause (active false) and resume them. Answers already collected keep the topic and tags they had; filters on past answers use those. Does not collect answers.

| パラメーター | 型 | 必須 | 説明 |
| --- | --- | --- | --- |
| `project_id` | UUID | 複数のプロジェクトの場合 | Project ID returned by list_projects or create_project. |
| `prompt_ids` | list of UUID, 1–100 items | はい | Prompt IDs from list_prompts. |
| `topic` | string, 1–70 characters |  | New topic for all of them. |
| `add_tags` | list of string, 1–80 characters, 1–8 items |  | Tags to add. |
| `remove_tags` | list of string, 1–80 characters, 1–8 items |  | Tags to remove. |
| `active` | boolean |  | false pauses; true resumes. |
| `request_id` | UUID | はい | UUID generated once per intended action; reuse it unchanged when retrying. |

### `get_prompt_discovery` (読み取り)

Prompt discovery plans

Saved prompt discovery plans: suggested questions per topic and market with intent, reason and the brand facts or sources behind them, and whether each is already tracked. Supply plan_id for its candidates; review counts tracked and pending ones.

| パラメーター | 型 | 必須 | 説明 |
| --- | --- | --- | --- |
| `project_id` | UUID | 複数のプロジェクトの場合 | Project ID returned by list_projects or create_project. |
| `plan_id` | UUID |  | Plan ID from the list. |

### `discover_prompts` (書き込み · use_modelによるAI使用量)

Discover prompts to track

Create a discovery plan: up to five suggested questions per topic and market, each with an intent and reason, grounded in the brand profile, competitors, facts and knowledge sources. use_model true (owner, analysis model, may incur usage) writes them with AI; otherwise templates are used. Nothing is tracked until accept_prompt_suggestions.

| パラメーター | 型 | 必須 | 説明 |
| --- | --- | --- | --- |
| `project_id` | UUID | 複数のプロジェクトの場合 | Project ID returned by list_projects or create_project. |
| `topics` | list of string, 1–70 characters, 1–3 items | はい | 1 to 3 topics. |
| `markets` | list of object { country: one of `GLOBAL`, `US`, `GB`, `CA`, `AU`, `DE`, `FR`, `ES`, … (62 values); language: one of `""`, `en`, `es`, `fr`, `de`, `it`, `pt`, `nl`, `sv`, `pl`, `cs`, `ro`, `el`, `tr`, … (28 values) }, 1–2 items | はい | 1 or 2 country and language pairs. |
| `engines` | list of values from `chatgpt`, `perplexity`, `gemini`, `claude`, `copilot`, `grok`, `deepseek`, `meta`, `overview`, `google`, `perplexity_ui`, `naver`, `ernie`, `bing_ai`, … (40 values), 1–40 items | はい | Engines the accepted prompts track. |
| `purpose` | one of `visibility`, `perception`, `objections`, `factcheck` |  | Prompt purpose. |
| `persona` | string, up to 120 characters |  | Optional persona, sent to chat models as an Audience context line before the question; Google AI Overviews and AI Mode search the question as written. |
| `instructions` | string, up to 1200 characters |  | Extra guidance for the suggestions. |
| `use_model` | boolean |  | true uses the analysis model; ask first. |
| `request_id` | UUID | はい | UUID generated once per intended action; reuse it unchanged when retrying. |

### `accept_prompt_suggestions` (書き込み)

Track suggested prompts

Track chosen candidates from a discovery plan, optionally editing text, topic or tags first. Matches to existing prompts are reused; the plan revision guards against stale edits.

| パラメーター | 型 | 必須 | 説明 |
| --- | --- | --- | --- |
| `project_id` | UUID | 複数のプロジェクトの場合 | Project ID returned by list_projects or create_project. |
| `plan_id` | UUID | はい | Plan ID from get_prompt_discovery. |
| `revision` | integer 0–1000000 | はい | The plan revision you read. |
| `candidates` | list of object { id: string, 1–90 characters; text?: string, 1–600 characters; topic?: string, 1–70 characters; tags?: list of string, 1–80 characters, 0–8 items }, 1–30 items | はい | Candidates to track, with optional edits. |
| `request_id` | UUID | はい | UUID generated once per intended action; reuse it unchanged when retrying. |

### `add_competitor` (書き込み)

Add competitor

Add a competitor, or reuse an exact active domain/name/alias match. Does not silently change an existing competitor.

| パラメーター | 型 | 必須 | 説明 |
| --- | --- | --- | --- |
| `project_id` | UUID | 複数のプロジェクトの場合 | Project ID returned by list_projects or create_project. |
| `name` | string, 1–100 characters | はい | Brand name as it appears in answers. |
| `domain` | string, 1–253 characters | はい | Website domain, such as example.com. |
| `aliases` | list of string, 1–80 characters, 0–10 items |  | Other names that count as a mention. |
| `request_id` | UUID | はい | UUID generated once per intended action; reuse it unchanged when retrying. |

### `update_competitor` (書き込み)

Update competitor

Rename a competitor, change its domain or aliases, or archive (active false) and restore it. Archived competitors are not matched in new answers; earlier answers keep their results. Competitor IDs are in get_project.

| パラメーター | 型 | 必須 | 説明 |
| --- | --- | --- | --- |
| `project_id` | UUID | 複数のプロジェクトの場合 | Project ID returned by list_projects or create_project. |
| `competitor_id` | UUID | はい | Competitor ID from get_project. |
| `name` | string, 1–100 characters |  | Brand name as it appears in answers. |
| `domain` | string, 1–253 characters |  | Website domain, such as example.com. |
| `aliases` | list of string, 1–80 characters, 0–10 items |  | Other names that count as a mention. |
| `active` | boolean |  | false archives the competitor; true restores it. |
| `request_id` | UUID | はい | UUID generated once per intended action; reuse it unchanged when retrying. |

### `save_profile` (書き込み)

Update brand profile

update the brand profile used for prompt suggestions, briefs and drafts. Omitted fields are kept.

| パラメーター | 型 | 必須 | 説明 |
| --- | --- | --- | --- |
| `project_id` | UUID | 複数のプロジェクトの場合 | Project ID returned by list_projects or create_project. |
| `industry` | string, up to 120 characters |  | Industry or category, such as Product analytics. |
| `description` | string, up to 1600 characters |  | What the brand offers. |
| `audience` | string, up to 600 characters |  | Who the brand serves. |
| `voice` | string, up to 600 characters |  | Writing voice for drafts. |
| `market` | one of `GLOBAL`, `US`, `GB`, `CA`, `AU`, `DE`, `FR`, `ES`, … (62 values) |  | Market to ask from. |
| `language` | one of `""`, `en`, `es`, `fr`, `de`, `it`, `pt`, `nl`, `sv`, `pl`, `cs`, `ro`, `el`, `tr`, … (28 values) |  | Question language code. Chat models receive an Answer language line; Google AI Overviews and AI Mode search in this language. |
| `request_id` | UUID | はい | UUID generated once per intended action; reuse it unchanged when retrying. |

## 収集

新しい回答の収集: コストをプレビューし、開始し、進め、復旧する。

### `preview_scan` (読み取り)

Preview collection cost

Preview eligible prompts, required credits and a snapshot token before collecting. Does not call a provider.

| パラメーター | 型 | 必須 | 説明 |
| --- | --- | --- | --- |
| `project_id` | UUID | 複数のプロジェクトの場合 | Project ID returned by list_projects or create_project. |
| `prompt_id` | UUID |  | Tracked prompt ID from list_prompts. |

### `start_scan` (書き込み · トラッキングクレジットを確保)

Start collection

queue a scan of active prompts. Use a stable request_id and the preview_scan token; reuse request_id after uncertain responses. May incur provider usage when advanced. After an uncertain response read get_project before starting another scan.

| パラメーター | 型 | 必須 | 説明 |
| --- | --- | --- | --- |
| `project_id` | UUID | 複数のプロジェクトの場合 | Project ID returned by list_projects or create_project. |
| `prompt_id` | UUID |  | Tracked prompt ID from list_prompts. |
| `request_id` | UUID | はい | UUID generated once per intended action; reuse it unchanged when retrying. |
| `preview_token` | string, 1–256 characters |  | previewToken returned by preview_scan. |

### `advance_scan` (書き込み · トラッキングクレジットを使う)

Advance collection

process the next batch of a saved scan using configured providers. Repeat while pending is positive, respecting nextPollAt; completed samples are not collected again.

| パラメーター | 型 | 必須 | 説明 |
| --- | --- | --- | --- |
| `project_id` | UUID | 複数のプロジェクトの場合 | Project ID returned by list_projects or create_project. |
| `scan_id` | UUID | はい | Scan ID returned by start_scan. |
| `request_id` | UUID | はい | UUID generated once per intended action; reuse it unchanged when retrying. |

### `get_scan` (読み取り)

Get collection

Read a saved scan and its samples, failures and remaining work.

| パラメーター | 型 | 必須 | 説明 |
| --- | --- | --- | --- |
| `project_id` | UUID | 複数のプロジェクトの場合 | Project ID returned by list_projects or create_project. |
| `scan_id` | UUID | はい | Scan ID returned by start_scan. |

### `retry_scan` (書き込み)

Retry failed answers

requeue eligible failed samples in the same scan. Follow with advance_scan; never creates another scan.

| パラメーター | 型 | 必須 | 説明 |
| --- | --- | --- | --- |
| `project_id` | UUID | 複数のプロジェクトの場合 | Project ID returned by list_projects or create_project. |
| `scan_id` | UUID | はい | Scan ID returned by start_scan. |
| `request_id` | UUID | はい | UUID generated once per intended action; reuse it unchanged when retrying. |

### `collection_update_status` (読み取り)

Collection status

Read this project’s collection update history, waiting work and recovery needs, and whether KNWN’s automatic updates are running (automatic.state: on, off or stalled).

| パラメーター | 型 | 必須 | 説明 |
| --- | --- | --- | --- |
| `project_id` | UUID | 複数のプロジェクトの場合 | Project ID returned by list_projects or create_project. |

## ナレッジとファクトチェック

ブランドのファクト、ナレッジソース、回答内で見つかった主張。

### `get_knowledge` (読み取り)

Brand knowledge and fact checks

Brand profile, saved facts, knowledge sources (excerpts drafts may cite) and fact-check claims found in answers with their matched fact, suggested verdict and review. Use query to search them, or knowledge_source_id for full text.

| パラメーター | 型 | 必須 | 説明 |
| --- | --- | --- | --- |
| `project_id` | UUID | 複数のプロジェクトの場合 | Project ID returned by list_projects or create_project. |
| `query` | string, 2–200 characters |  | Search facts and knowledge sources for these words; returns matching excerpts. |
| `knowledge_source_id` | UUID |  | Knowledge source ID from get_knowledge. |
| `max_chars` | integer 500–28000 |  | Characters of text to return; default 8000. |

### `save_fact` (書き込み)

Save a brand fact

Add a verified brand fact used for fact checks and drafts, or update one with fact_id. An identical statement is reused. Phrase matching looks for the statement inside one answer sentence that names the brand, ignoring case, punctuation and formatting.

| パラメーター | 型 | 必須 | 説明 |
| --- | --- | --- | --- |
| `project_id` | UUID | 複数のプロジェクトの場合 | Project ID returned by list_projects or create_project. |
| `fact_id` | UUID |  | Fact ID from get_knowledge. |
| `subject` | string, up to 150 characters |  | Optional phrase an answer sentence must contain to be checked, such as billing. |
| `statement` | string, 1–1800 characters |  | Short wording to find in answers, such as monthly billing; a sentence or two at most, each matched on its own. |
| `alternatives` | list of string, 1–350 characters, 0–10 items |  | Known incorrect variants, such as annual-only billing: an answer sentence that contains one, and not the statement, counts as contradicted. |
| `url` | string, up to 2000 characters |  | Where the fact is published. |
| `request_id` | UUID | はい | UUID generated once per intended action; reuse it unchanged when retrying. |

### `save_knowledge_source` (書き込み)

Save a knowledge source

Save an excerpt drafts may cite: pasted text, or a page from the project website fetched by page_path. Supply knowledge_source_id to update.

| パラメーター | 型 | 必須 | 説明 |
| --- | --- | --- | --- |
| `project_id` | UUID | 複数のプロジェクトの場合 | Project ID returned by list_projects or create_project. |
| `knowledge_source_id` | UUID |  | Knowledge source ID from get_knowledge. |
| `label` | string, up to 240 characters |  | Short name. |
| `topic` | string, up to 120 characters |  | Topic name. |
| `content` | string, up to 28000 characters |  | Excerpt text. |
| `url` | string, up to 2000 characters |  | Where the text comes from. |
| `page_path` | string, up to 500 characters |  | Path on the project website to fetch instead of content. |
| `request_id` | UUID | はい | UUID generated once per intended action; reuse it unchanged when retrying. |

### `check_facts` (書き込み · AI使用量を使う)

Check answers against facts

use the analysis model to find claims about your brand in up to 10 recent answers and match them to saved facts; results appear in get_knowledge. May incur model usage; ask first.

| パラメーター | 型 | 必須 | 説明 |
| --- | --- | --- | --- |
| `project_id` | UUID | 複数のプロジェクトの場合 | Project ID returned by list_projects or create_project. |
| `period` | object `{ days, start, end }` — see Filters |  | Optional. Default: last 30 days. |
| `request_id` | UUID | はい | UUID generated once per intended action; reuse it unchanged when retrying. |

### `review_claim` (書き込み)

Review a fact-check claim

Record a verdict on a fact-check claim from get_knowledge: supported, contradicted or uncovered (shown as Not decided). One review applies to every answer with the same claim.

| パラメーター | 型 | 必須 | 説明 |
| --- | --- | --- | --- |
| `project_id` | UUID | 複数のプロジェクトの場合 | Project ID returned by list_projects or create_project. |
| `claim_id` | string, 3–150 characters | はい | Claim ID from get_knowledge. |
| `verdict` | one of `supported`, `contradicted`, `uncovered` | はい | Your verdict. |
| `note` | string, up to 450 characters |  | Optional review note. |
| `request_id` | UUID | はい | UUID generated once per intended action; reuse it unchanged when retrying. |

## ソースのラベルとスナップショット

引用されたソースにラベルを付け、引用ページの変化を追跡します。

### `get_source_library` (読み取り)

Source labels and snapshots

Source labelling rules (category, tag, watch) and saved page snapshots. With snapshot_id, returns that snapshot’s text and the sentences added or removed since the previous snapshot of the same URL.

| パラメーター | 型 | 必須 | 説明 |
| --- | --- | --- | --- |
| `project_id` | UUID | 複数のプロジェクトの場合 | Project ID returned by list_projects or create_project. |
| `snapshot_id` | UUID |  | Snapshot ID from get_source_library. |
| `max_chars` | integer 500–28000 |  | Characters of text to return; default 8000. |

### `save_source_rule` (書き込み)

Label a source

Label cited sources: match a domain or URL prefix to a category and tag (such as Reviews or Forum), optionally watching it for snapshots. Reuses the rule for the same URL; labels appear in citation_report.

| パラメーター | 型 | 必須 | 説明 |
| --- | --- | --- | --- |
| `project_id` | UUID | 複数のプロジェクトの場合 | Project ID returned by list_projects or create_project. |
| `rule_id` | UUID |  | Rule ID from get_source_library. |
| `url` | string, up to 2000 characters |  | Domain or URL prefix, such as https://www.g2.com/. |
| `category` | string, up to 70 characters |  | Source category, such as Reviews or Forum. |
| `tag` | string, up to 70 characters |  | Optional finer label. |
| `watch` | boolean |  | true marks the source for snapshots. |
| `label` | string, up to 240 characters |  | Optional name; default the category. |
| `request_id` | UUID | はい | UUID generated once per intended action; reuse it unchanged when retrying. |

### `capture_snapshot` (書き込み)

Capture a page snapshot

Save the current text of a project page or an exact URL cited in captured answers, and report what changed since the previous snapshot of it.

| パラメーター | 型 | 必須 | 説明 |
| --- | --- | --- | --- |
| `project_id` | UUID | 複数のプロジェクトの場合 | Project ID returned by list_projects or create_project. |
| `url` | string, 1–2000 characters | はい | Project page or exact cited URL. |
| `request_id` | UUID | はい | UUID generated once per intended action; reuse it unchanged when retrying. |

## コンテンツ

ブリーフ、記事の下書き、WordPressの下書き。公開は一切行われません。

### `get_content` (読み取り)

Get content

List saved briefs, article drafts and documents with a short preview, plus WordPress draft records. Supply draft_id for one item’s full text. Does not return CMS credentials.

| パラメーター | 型 | 必須 | 説明 |
| --- | --- | --- | --- |
| `project_id` | UUID | 複数のプロジェクトの場合 | Project ID returned by list_projects or create_project. |
| `draft_id` | string, 1–90 characters |  | Draft or document ID for its full text. |
| `max_chars` | integer 500–36000 |  | Characters of text to return; default 8000. |

### `create_content_brief` (書き込み)

Create content brief

Save a content brief from the current project evidence. Does not call a model or publish content. Read get_content after an uncertain response before retrying.

| パラメーター | 型 | 必須 | 説明 |
| --- | --- | --- | --- |
| `project_id` | UUID | 複数のプロジェクトの場合 | Project ID returned by list_projects or create_project. |
| `topic` | string, up to 120 characters |  | Topic to focus the brief on. |
| `filters` | object — see Filters |  | Optional. Default: last 30 days, all engines and markets, compared with the preceding period. |
| `request_id` | UUID | はい | UUID generated once per intended action; reuse it unchanged when retrying. |

### `create_source_brief` (書き込み)

Create a brief from a source

Save a content brief for one cited domain or page from the evidence: its gap answers, buyer questions, competitors and pages. Does not call a model or publish.

| パラメーター | 型 | 必須 | 説明 |
| --- | --- | --- | --- |
| `project_id` | UUID | 複数のプロジェクトの場合 | Project ID returned by list_projects or create_project. |
| `filters` | object — see Filters |  | Optional. Default: last 30 days, all engines and markets, compared with the preceding period. |
| `domain` | string, up to 253 characters |  | A cited domain, such as g2.com. |
| `url` | string, up to 2000 characters |  | An exact cited page URL. |
| `request_id` | UUID | はい | UUID generated once per intended action; reuse it unchanged when retrying. |

### `draft_article` (書き込み · AI使用量を使う)

Draft article

use the configured analysis provider to create an editable article from a saved brief. May incur model usage and never publishes. Read get_content after an uncertain response before retrying.

| パラメーター | 型 | 必須 | 説明 |
| --- | --- | --- | --- |
| `project_id` | UUID | 複数のプロジェクトの場合 | Project ID returned by list_projects or create_project. |
| `brief_id` | string, 1–90 characters | はい | Brief ID from get_content. |
| `title` | string, up to 180 characters |  | Optional article title. |
| `filters` | object — see Filters |  | Optional. Default: last 30 days, all engines and markets, compared with the preceding period. |
| `request_id` | UUID | はい | UUID generated once per intended action; reuse it unchanged when retrying. |

### `send_draft_to_wordpress` (書き込み · WordPressに送信)

Send a draft to WordPress

send a saved draft or document to the connected WordPress site as a draft for a person to review and publish. Never publishes. Ask first.

| パラメーター | 型 | 必須 | 説明 |
| --- | --- | --- | --- |
| `project_id` | UUID | 複数のプロジェクトの場合 | Project ID returned by list_projects or create_project. |
| `draft_id` | string, 1–90 characters | はい | Draft or document ID from get_content. |
| `kind` | one of `drafts`, `documents` |  | Default drafts. |
| `request_id` | UUID | はい | UUID generated once per intended action; reuse it unchanged when retrying. |

## アクション、タスク、タイムライン

推奨アクション、実施前後を比較できるタスク、日付付きの注記。

### `update_action_status` (書き込み)

Update action status

Mark a recommended action from visibility_report actions as open, planned or done, so later reports show its status.

| パラメーター | 型 | 必須 | 説明 |
| --- | --- | --- | --- |
| `project_id` | UUID | 複数のプロジェクトの場合 | Project ID returned by list_projects or create_project. |
| `action_id` | string matching `^(prompt\|source):[A-Za-z0-9.-]{1,253}$` | はい | Action id from visibility_report actions. |
| `status` | one of `open`, `planned`, `done` | はい | New status. |
| `request_id` | UUID | はい | UUID generated once per intended action; reuse it unchanged when retrying. |

### `get_tasks` (読み取り)

Get tasks and before-and-after figures

Tasks for visibility work with status, assignee, due date and linked prompt, answer and source. Completed tasks linked to a prompt include impact: that prompt's answers in the 14 days before and after completion, compared over matched answers (impact.comparison.direction), with each window's dates and counts and a caveat that it does not show the task caused a change.

| パラメーター | 型 | 必須 | 説明 |
| --- | --- | --- | --- |
| `project_id` | UUID | 複数のプロジェクトの場合 | Project ID returned by list_projects or create_project. |
| `status` | one of `open`, `planned`, `done`, `declined` |  | Only tasks with this status. |

### `save_task` (書き込み)

Save a task

Create a task, or update one with task_id. Link a prompt so completing it compares that prompt's answers before and after; status done sets today as completed_at unless given.

| パラメーター | 型 | 必須 | 説明 |
| --- | --- | --- | --- |
| `project_id` | UUID | 複数のプロジェクトの場合 | Project ID returned by list_projects or create_project. |
| `task_id` | UUID |  | Task ID from get_tasks. |
| `title` | string, up to 240 characters |  | Optional article title. |
| `detail` | string, up to 2500 characters |  | What needs doing. |
| `status` | one of `open`, `planned`, `done`, `declined` |  | Default open. |
| `assignee` | string, up to 120 characters |  | Person or team responsible. |
| `due` | string, up to 10 characters |  | YYYY-MM-DD. |
| `prompt_id` | UUID |  | Tracked prompt whose answers to compare before and after. |
| `answer_id` | UUID |  | Evidence answer. |
| `source_url` | string, up to 2000 characters |  | Page or source the task concerns. |
| `completed_at` | string, up to 10 characters |  | YYYY-MM-DD. |
| `checklist` | list of object { text: string, 1–170 characters; done?: boolean }, 0–20 items |  | Checklist items. |
| `request_id` | UUID | はい | UUID generated once per intended action; reuse it unchanged when retrying. |

### `save_annotation` (書き込み)

Mark a date

Mark a date on the project timeline, such as a campaign, website change or engine update, or edit one with annotation_id. brand_report grouped by day, week or month returns the marks in its period.

| パラメーター | 型 | 必須 | 説明 |
| --- | --- | --- | --- |
| `project_id` | UUID | 複数のプロジェクトの場合 | Project ID returned by list_projects or create_project. |
| `annotation_id` | UUID |  | Annotation ID to edit. |
| `day` | string, 10–10 characters |  | YYYY-MM-DD. |
| `note` | string, 1–450 characters |  | What happened. |
| `type` | one of `campaign`, `website`, `engine`, `other` |  | Default other. |
| `request_id` | UUID | はい | UUID generated once per intended action; reuse it unchanged when retrying. |

## ワークフロー

ワークフロービルダー、実行、人によるレビュー、バッチ。

### `get_workflow_builder` (読み取り)

Workflow builder guide

The workflow builder: every step type with what its value means and what it uses, ready-made templates, schedules and the rules a definition must follow. Use with save_workflow (template, validate_only).

| パラメーター | 型 | 必須 | 説明 |
| --- | --- | --- | --- |
| `project_id` | UUID | 複数のプロジェクトの場合 | Project ID returned by list_projects or create_project. |

### `get_workflows` (読み取り)

Get workflows

Read saved workflows, recent runs (status, next step, review checkpoints) and batches. Supply run_id for one run’s full results or batch_id for one batch’s rows.

| パラメーター | 型 | 必須 | 説明 |
| --- | --- | --- | --- |
| `project_id` | UUID | 複数のプロジェクトの場合 | Project ID returned by list_projects or create_project. |
| `run_id` | string, 1–90 characters |  | Run ID for full step results. |
| `batch_id` | UUID |  | Batch ID for its rows. |

### `save_workflow` (書き込み)

Save workflow

Create or update a manual workflow in this project. Recurring schedules must be managed in the app. Saving does not execute steps.

| パラメーター | 型 | 必須 | 説明 |
| --- | --- | --- | --- |
| `project_id` | UUID | 複数のプロジェクトの場合 | Project ID returned by list_projects or create_project. |
| `workflow_id` | UUID |  | Workflow ID from get_workflows. |
| `label` | string, 1–240 characters |  | Workflow name. |
| `steps` | list of object { type: one of `report`, `opportunities`, `citations`, `fanouts`, `volumes`, `condition`, `brief`, `article`, `audit`, `scorecard`, `facts`, `collection`, `analysis`, `research`, … (15 values); value?: string, up to 450 characters; onFail?: integer 0–12 }, 1–12 items |  | Ordered steps; onFail is the step to jump to after a failure. |
| `cadence` | one of `manual` |  | MCP keys save manual workflows only. |
| `weekday` | integer 0–6 |  | Weekly run day, 0 = Sunday. |
| `defaultInput` | string, up to 450 characters |  | Input used when a run supplies none. |
| `filters` | object — see Filters |  | Optional. Default: last 30 days, all engines and markets, compared with the preceding period. |
| `template` | one of `visibility-review`, `topic-briefs`, `research-to-draft` |  | Start from this template; its name and steps apply unless given. |
| `validate_only` | boolean |  | true checks the definition and returns it without saving. |
| `request_id` | UUID | はい | UUID generated once per intended action; reuse it unchanged when retrying. |

### `run_workflow` (書き込み · クレジットを使う場合あり)

Run workflow

execute a saved workflow using a stable request_id. Reuse that ID after an uncertain response to return the same run. Stops at human review and never publishes content.

| パラメーター | 型 | 必須 | 説明 |
| --- | --- | --- | --- |
| `project_id` | UUID | 複数のプロジェクトの場合 | Project ID returned by list_projects or create_project. |
| `workflow_id` | UUID | はい | Workflow ID from get_workflows. |
| `request_id` | UUID | はい | UUID generated once per intended action; reuse it unchanged when retrying. |
| `input` | string, up to 450 characters |  | Optional run input. |

### `review_workflow_run` (書き込み · クレジットを使う場合あり)

Review workflow run

Only after explicit user approval: approve or decline the pending human review. Use the run next value as review_step. Approval executes subsequent steps and may incur provider usage.

| パラメーター | 型 | 必須 | 説明 |
| --- | --- | --- | --- |
| `project_id` | UUID | 複数のプロジェクトの場合 | Project ID returned by list_projects or create_project. |
| `workflow_id` | UUID | はい | Workflow ID from get_workflows. |
| `run_id` | string, 1–90 characters | はい | Run ID from run_workflow or get_workflows. |
| `approved` | boolean | はい | true approves the pending review; false declines it. |
| `review_step` | integer 1–12 | はい | The run’s next value awaiting review. |
| `review_note` | string, up to 450 characters |  | Optional note saved with the decision. |
| `request_id` | UUID | はい | UUID generated once per intended action; reuse it unchanged when retrying. |

### `retry_workflow_run` (書き込み · クレジットを使う場合あり)

Retry workflow run

resume a failed run, or a running run with no saved progress for ten minutes. Keeps its original steps/input and does not approve human reviews.

| パラメーター | 型 | 必須 | 説明 |
| --- | --- | --- | --- |
| `project_id` | UUID | 複数のプロジェクトの場合 | Project ID returned by list_projects or create_project. |
| `workflow_id` | UUID | はい | Workflow ID from get_workflows. |
| `run_id` | string, 1–90 characters | はい | Run ID from run_workflow or get_workflows. |
| `request_id` | UUID | はい | UUID generated once per intended action; reuse it unchanged when retrying. |

### `run_workflow_batch` (書き込み · クレジットを使う場合あり)

Run a workflow batch

run a saved workflow once for each of up to 25 inputs, such as topics. Supply batch_id (with a new request_id) to continue a batch; runs stop at human reviews and never publish. May incur provider usage; ask first.

| パラメーター | 型 | 必須 | 説明 |
| --- | --- | --- | --- |
| `project_id` | UUID | 複数のプロジェクトの場合 | Project ID returned by list_projects or create_project. |
| `workflow_id` | UUID |  | Workflow ID from get_workflows. |
| `inputs` | list of string, 1–450 characters, 1–25 items |  | One run input per row. |
| `batch_id` | UUID |  | Batch to continue. |
| `request_id` | UUID | はい | UUID generated once per intended action; reuse it unchanged when retrying. |

## アナリスト

計測データについての非公開の会話。

### `get_conversations` (読み取り)

Get analyst conversations

Read the signed-in caller’s private analyst conversations. Supply thread_id for saved messages and the latest revision.

| パラメーター | 型 | 必須 | 説明 |
| --- | --- | --- | --- |
| `project_id` | UUID | 複数のプロジェクトの場合 | Project ID returned by list_projects or create_project. |
| `thread_id` | UUID |  | Conversation UUID; generate one for a new conversation. |

### `ask_visibility` (書き込み · use_modelによるAI使用量)

Ask the analyst

Ask about measured project data and save a private conversation. Supply stable thread_id/request_id values and the latest revision for retries. Optional model assistance and may incur usage.

| パラメーター | 型 | 必須 | 説明 |
| --- | --- | --- | --- |
| `project_id` | UUID | 複数のプロジェクトの場合 | Project ID returned by list_projects or create_project. |
| `question` | string, 1–500 characters | はい | Question about the measured project data. |
| `thread_id` | UUID | はい | Conversation UUID; generate one for a new conversation. |
| `request_id` | UUID | はい | UUID generated once per intended action; reuse it unchanged when retrying. |
| `revision` | integer 0–1000000 | はい | Latest revision from get_conversations; 0 for a new thread. |
| `use_model` | boolean |  | Use the analysis model for the reply; may incur usage. |
| `filters` | object — see Filters |  | Optional. Default: last 30 days, all engines and markets, compared with the preceding period. |

## フィルター

レポートおよびエビデンスツールが共有する`filters`オブジェクト。`where`にはフィルター式を指定します。

| フィールド | 型 | 説明 |
| --- | --- | --- |
| `days` | one of `7`, `14`, `30`, `60`, `90` | Default 30. |
| `engine` | engine ID, or `""` for all | Engine ID; see instructions. |
| `country` | market code, or `""` for all | Market the prompt was asked from. |
| `topic` | string, up to 70 characters | Exact topic the answer was collected under. |
| `tag` | string, up to 80 characters | Exact tag the answer was collected with. |
| `persona` | string, up to 120 characters | Exact persona. |
| `language` | one of `""`, `en`, `es`, `fr`, `de`, `it`, `pt`, `nl`, `sv`, `pl`, `cs`, `ro`, `el`, `tr`, … (28 values) | Answer language. |
| `purpose` | one of `""`, `visibility`, `perception`, `objections`, `factcheck` | Prompt purpose. |
| `method` | one of `""`, `api`, `browser`, `imported` | How the answer was collected. |
| `branding` | one of `""`, `branded`, `unbranded` | branded: only prompts that name a tracked brand; unbranded: only the others. |
| `start` | string, up to 10 characters | YYYY-MM-DD; with end, replaces days. |
| `end` | string, up to 10 characters | YYYY-MM-DD, inclusive; use with start. |
| `where` | string, up to 600 characters | Filter expression over any field, e.g. engine in (chatgpt, claude) and not tag = branded. Syntax: knwn://glossary. |
| `engines` | list of string, 1–40 characters, 1–30 items | Any of these engine IDs. |
| `topics` | list of string, 1–70 characters, 1–20 items | Any of these topics. |
| `tags` | list of string, 1–80 characters, 1–20 items | Prompts with any of these tags. |
| `exclude_tags` | list of string, 1–80 characters, 1–20 items | Leave out prompts with these tags, such as branded. |

- [フィルター式の構文を学ぶ](https://knwn.app/docs/mcp-guide#where)

## エンジン、市場、言語

これらのIDを`engine`、`engines`、`country`で使います。プロジェクトが使えるエンジンはプランによって異なります。`account_status`で確認できます。

| エンジンID | 名前 | 収集 |
| --- | --- | --- |
| `chatgpt` | ChatGPT | Consumer capture when available; otherwise a separately labelled OpenAI API answer. |
| `perplexity` | Perplexity API | Perplexity Agent API answer; separate from the consumer Perplexity experience. |
| `gemini` | Gemini | Consumer capture when available; otherwise a separately labelled Gemini API answer. |
| `claude` | Claude | Claude API answer with web search; the Claude app is not captured. |
| `copilot` | Copilot | Captured Microsoft Copilot consumer answer. |
| `grok` | Grok | Captured Grok consumer answer; separate from Grok API. |
| `deepseek` | DeepSeek | Captured DeepSeek consumer answer; separate from DeepSeek API. |
| `meta` | Meta AI | Captured Meta AI consumer answer; separate from Muse model APIs. |
| `overview` | Google AI Overviews | Google Search AI Overview capture; some queries have no overview. |
| `google` | Google AI Mode | Captured Google AI Mode answer. |
| `perplexity_ui` | Perplexity | Captured Perplexity consumer answer; separate from Perplexity API. |
| `naver` | Naver AI Briefing | Naver AI Briefing consumer search capture for supported Korean queries. |
| `ernie` | ERNIE (Baidu) | Baidu ERNIE consumer capture in supported markets. |
| `bing_ai` | Bing AI Mode | Bing AI Mode consumer capture; separate from Copilot. |
| `openai_luna` | OpenAI Luna API | OpenAI Luna model through the Responses API with web search. |
| `openai_astra` | OpenAI Astra API | OpenAI Astra model through the Responses API with web search. |
| `openai_sol` | OpenAI Sol API | OpenAI Sol model through the Responses API with web search. |
| `openai_terra` | OpenAI Terra API | OpenAI Terra model through the Responses API with web search. |
| `gemini_api` | Gemini Search API | Gemini API answer with Google Search grounding. |
| `claude_sonnet` | Claude Sonnet API | Claude Sonnet Messages API with web search. |
| `claude_haiku` | Claude Haiku API | Claude Haiku Messages API with web search. |
| `claude_opus` | Claude Opus API | Claude Opus Messages API with web search. |
| `claude_fable` | Claude Fable API | Claude Fable Messages API with web search. |
| `deepseek_api` | DeepSeek API | DeepSeek model API with provider-supported web search. |
| `grok_api` | Grok API | Grok Responses API with web search; not a consumer capture. |
| `qwen_api` | Qwen API | QwenCloud Responses API with web search in the configured region. |
| `muse_spark` | Muse Spark API | Muse Spark model API; excludes personalized Muse memory. |
| `meta_wonder` | Meta Wonder API | Muse Wonder model API; excludes personalized Muse memory. |
| `mistral_small` | Mistral Small API | Mistral Small Conversations API with web search. |
| `mistral_large` | Mistral Large API | Provider API |
| `mistral_medium` | Mistral Medium API | Mistral Medium Conversations API with web search. |
| `exa` | Exa API | Exa search-grounded Answer API; not a consumer chat capture. |
| `qwen_capture` | Qwen browser | Browser capture |
| `mistral_capture` | Mistral Vibe browser | Browser capture |
| `chatgpt_api` | ChatGPT API | Provider API |
| `gemini_default_api` | Gemini API | Provider API |
| `claude_api` | Claude API | Provider API |
| `chatgpt_capture` | ChatGPT browser | Browser capture |
| `gemini_capture` | Gemini browser | Browser capture |
| `claude_capture` | Claude browser | Browser capture |

### 市場

`GLOBAL` Global · `US` United States · `GB` United Kingdom · `CA` Canada · `AU` Australia · `DE` Germany · `FR` France · `ES` Spain · `IT` Italy · `NL` Netherlands · `TR` Türkiye · `IN` India · `BR` Brazil · `MX` Mexico · `JP` Japan · `AE` United Arab Emirates · `AZ` Azerbaijan · `SG` Singapore · `NZ` New Zealand · `SE` Sweden · `KR` South Korea · `CN` China · `IE` Ireland · `BE` Belgium · `CH` Switzerland · `AT` Austria · `PT` Portugal · `DK` Denmark · `NO` Norway · `FI` Finland · `PL` Poland · `CZ` Czechia · `RO` Romania · `GR` Greece · `HU` Hungary · `UA` Ukraine · `KZ` Kazakhstan · `GE` Georgia · `AR` Argentina · `CL` Chile · `CO` Colombia · `PE` Peru · `SA` Saudi Arabia · `QA` Qatar · `KW` Kuwait · `BH` Bahrain · `OM` Oman · `EG` Egypt · `IL` Israel · `MA` Morocco · `ZA` South Africa · `NG` Nigeria · `KE` Kenya · `PK` Pakistan · `BD` Bangladesh · `ID` Indonesia · `MY` Malaysia · `PH` Philippines · `TH` Thailand · `VN` Vietnam · `HK` Hong Kong · `TW` Taiwan

### 言語

`en` English · `es` Spanish · `fr` French · `de` German · `it` Italian · `pt` Portuguese · `nl` Dutch · `sv` Swedish · `pl` Polish · `cs` Czech · `ro` Romanian · `el` Greek · `tr` Turkish · `az` Azerbaijani · `ru` Russian · `uk` Ukrainian · `ar` Arabic · `he` Hebrew · `fa` Persian · `hi` Hindi · `bn` Bengali · `id` Indonesian · `vi` Vietnamese · `th` Thai · `ja` Japanese · `ko` Korean · `zh` Chinese

## 既製プロンプト

クライアントが提示できるプロンプト（`prompts/list`と`prompts/get`経由）。

| プロンプト | 機能 | 引数 |
| --- | --- | --- |
| `weekly_visibility` Weekly visibility review | Compare the latest seven days with the preceding seven: call visibility_report with filters.days 7, brand_report for competitor movement, and citation_report with gap_only for source gaps. Report visibility, share of voice, brand movements, new sources and evidence-backed follow-up actions. Include the answer counts and date range. | `project_id` |
| `citation_gaps` Citation opportunities | Call citation_report with gap_only true and type earned. For the leading sources, quote one representative answer with get_answer using example_answer_id, name the competitors cited alongside, and identify the cited page with level url. | `project_id` |
| `engine_scorecard` Engine scorecard | Call brand_report with group_by engine (automatically split by collection method). Compare engines on visibility, share of voice and position for the project brand and its competitors. Identify the clearest opportunities and flag engines with fewer than 20 answers as sparse. | `project_id` |
| `competitor_matrix` Competitor matrix | Call brand_report with group_by topic and then_by engine. Show where each competitor leads the project brand by the widest margin, and which brands gained or lost the most (visibility_change). | `project_id` |
| `prompt_gaps` Prompt gaps | Call visibility_report with sections ["prompts"] and limit 25. For prompts with low visibility and a gapId, quote that answer with get_answer and suggest one concrete content or source action per prompt. | `project_id` |
| `competitor_radar` Competitor radar | Find brands whose visibility changed by at least threshold (points) percentage points: call brand_report with group_by engine and again with group_by topic, and compare visibility_change. For each mover, quote one answer from list_answers (brands set to that competitor, gap_only true) with get_answer. | `project_id`, `threshold_pp` （任意） |
| `topic_heatmap` Topic heatmap | Call brand_report with group_by topic and then_by engine. Show a topic × engine grid of the project brand’s visibility with the leading competitor in each cell, and mark cells with fewer than 10 answers as sparse. | `project_id` |
| `source_authority` Source authority | Call citation_report with type earned and sort gap, then source_detail for the top three sources. Rank the sources that shape answers without the project brand, note their category labels, and suggest one outreach or content action for each; offer create_source_brief. | `project_id` |
| `campaign_tracker` Campaign tracker | Compare answers before and after the campaign on campaign date for topic: call brand_report with group_by week, then_by engine and filters.start/end covering four weeks either side, and read its annotations; check get_tasks for tasks completed near that date and their before-and-after comparison (impact.comparison). Report a change as a rise or fall only when its direction says so, say whether it exceeds normal week-to-week variation, and say that engine or model changes, competitor activity and AI updates can also explain it. | `project_id`, `campaign_date`, `topic` （任意） |
| `fact_check_review` Fact-check review | Call get_knowledge. Summarise contradicted and unreviewed claims with the answers they came from (get_answer), and propose review_claim verdicts for the user to confirm before recording them. If there are no claims and the user approves model usage, run check_facts. | `project_id` |
| `ai_traffic_review` AI traffic review | Call ai_traffic_report grouped by platform and by path, and analytics_report for GA4 AI referrals. Report which AI crawlers and assistants reach the site, which pages they favour, how that changed, and whether those pages are cited (citation_report with level url). | `project_id` |
| `fanout_opportunities` Fan-out opportunities | Call fanout_report with status rising and then new. Rising compares the share of searched answers; new can mean a prompt that was only just tracked, and statusReason means the periods cannot be compared. For searches where brand_visibility is low, suggest content that would answer them and offer create_content_brief for the strongest one. | `project_id` |

## リソース

アシスタントが`resources/read`で読み取れる、Markdown形式の参照テキスト。

| URI | 目次 |
| --- | --- |
| `knwn://glossary` | Metric glossary. Definitions of every metric and term the tools return. |
| `knwn://engines` | Engine catalog. Engine IDs, names and how each engine’s answers are collected. |
| `knwn://workflow-steps` | Workflow steps. Step types for save_workflow and which ones incur usage. |
| `knwn://docs/getting-started` | Get your first visibility baseline. Create an account, add your brand, and turn a few buyer questions into your first saved answers. |
| `knwn://docs/tracking-prompts` | Choose and organize tracking questions. Build a focused set of prompts, review suggestions, and control which questions are active. |
| `knwn://docs/running-scans` | Run a scan and manage collection. Preview the work, understand tracking credits, and follow each question through to a saved answer. |
| `knwn://docs/understanding-results` | Read your visibility results. Understand the headline metrics, inspect the evidence, and compare consistent slices of your data. |
| `knwn://docs/mystery-shopping` | Send mystery shoppers to AI models. See what AI models tell different buyers about your brand, question by question or across a whole conversation, compared with anyone asking the same questions. |
| `knwn://docs/pdf-reports` | Download PDF reports. Turn the current view into a branded PDF: an executive summary, a deep dive on one area, a Mystery Shopping study, or every report in one file. |
| `knwn://docs/teams` | Work with projects and teammates. Switch between brands, understand project roles, and grant access where your sign-in supports it. |
| `knwn://docs/integrations` | Connect optional reporting and publishing tools. Add your website’s reporting and KNWN Pixel, send reviewed drafts to WordPress, and post notices to Slack or Notion. |
| `knwn://docs/content-and-workflows` | Turn evidence into reviewed content. Create briefs and drafts, review suggestions, and use workflows with human checkpoints. |
| `knwn://docs/mcp` | Connect an AI assistant with MCP. Connect Claude, ChatGPT, Claude Code, Cursor or any MCP client to KNWN, so the assistant can read your AI visibility data and, when you allow it, act on it. |
| `knwn://docs/mcp-guide` | Work with KNWN through MCP. How the numbers read, how to filter and group them, and the tool sequences for the most common jobs. |
| `knwn://docs/mcp-tools` | MCP tool reference. Every tool a KNWN MCP connection can call, with its parameters, generated from the server’s live catalog. |
| `knwn://docs/mcp-limits` | MCP limits, errors and protocol. Rate limits, usage and size limits, error formats and codes, and the protocol and OAuth details for client developers. |
| `knwn://docs/rest-api` | REST API reference. Read reports and answers, capture answers and run scheduled collection with a project key: endpoints, filters, paging, the answer CSV, errors, rate limits and versions. |
| `knwn://docs/account-and-billing` | Manage your account, credits, and recovery. Keep access to your account and understand what the balance and plan controls mean. |
| `knwn://docs/accessibility` | Accessibility and supported browsers. The browsers and assistive technology KNWN is built for, what has been checked so far, and how to report a problem. |
