MCPツール
リスニングの一致結果を読む
sosoapi_listening_results_get現在の信頼できない Hacker News の一致結果を一件読みます。リテラルクエリの一致は検証済みのアカウントへのメンションではありません。agent:research が必要です。
Markdownで読むプロファイルと通信方式
プロファイル: full · 通信方式: stdio, http
coreまたはfullで表示ツールを選べますが権限は変わりません。ローカルアップロードはstdioのみでHTTPは非対応です。SOSOAPI_OUTPUT_SCHEMAS=1で検出時に出力スキーマを含めます。設定に関係なく構造化結果を返します。
権限と副作用
注釈はクライアントがツールを説明するためのものです。各呼び出しでは引き続き認証、ロール、リソースアクセス、機能権限を確認します。
{
"readOnlyHint": true,
"destructiveHint": false,
"idempotentHint": true,
"openWorldHint": true
}- /listening-api/results/get: agent:research · 現在許可されているリスニングデータ。索引済みの公開サンプルは部分的で、検証済みのアカウントへのメンションではありません
入力フィールド
必須とは、親オブジェクトと選択分岐内で必須という意味です。必須の子があっても任意の親は必須になりません。以下のルールとフィールド名は契約から転記しています。
| フィールド/分岐 | 型/必須 | 制約 |
|---|---|---|
$ | object親要素内で必須 |
|
workspace_id | string親要素内で必須 |
|
id | string親要素内で必須 |
|
完全なJSON Schema
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
},
"id": {
"type": "string",
"format": "uuid"
}
},
"required": [
"workspace_id",
"id"
],
"additionalProperties": false
}構造化された出力
このスキーマは、成功時のツール結果に含まれるstructuredContentを説明します。MCPレスポンスはcontentも含み、失敗時にisErrorを設定する場合があります。公開では、受理やテキスト応答を確認済みと扱わず、投稿の最終結果を取得してください。権限・再試行ルールはリンク先のAPI操作をご覧ください。
必須とは、親オブジェクトと選択分岐内で必須という意味です。必須の子があっても任意の親は必須になりません。以下のルールとフィールド名は契約から転記しています。
| フィールド/分岐 | 型/必須 | 制約 |
|---|---|---|
$ | object親要素内で必須 |
|
result | object親要素内で必須 |
|
result.id | string親要素内で必須 |
|
result.workspace_id | string親要素内で必須 |
|
result.stream_id | string親要素内で必須 |
|
result.run_id | string親要素内で必須 |
|
result.revision | integer親要素内で必須 |
|
result.source | string親要素内で必須 |
|
result.source_item_id | string親要素内で必須 |
|
result.canonical_url | string親要素内で必須 |
|
result.title | string | null親要素内で必須 | — |
result.titleanyOf 1 | string親要素内で必須 |
|
result.titleanyOf 2 | null親要素内で必須 | — |
result.excerpt | string | null親要素内で必須 | — |
result.excerptanyOf 1 | string親要素内で必須 |
|
result.excerptanyOf 2 | null親要素内で必須 | — |
result.author | string | null親要素内で必須 | — |
result.authoranyOf 1 | string親要素内で必須 |
|
result.authoranyOf 2 | null親要素内で必須 | — |
result.published_at | string | null親要素内で必須 | — |
result.published_atanyOf 1 | string親要素内で必須 |
|
result.published_atanyOf 2 | null親要素内で必須 | — |
result.retrieved_at | string親要素内で必須 |
|
result.source_checked_at | string親要素内で必須 |
|
result.expires_at | string親要素内で必須 |
|
result.availability | string親要素内で必須 |
|
result.metrics | object親要素内で必須 |
|
result.metrics.score | integer | null親要素内で必須 | — |
result.metrics.scoreanyOf 1 | integer親要素内で必須 |
|
result.metrics.scoreanyOf 2 | null親要素内で必須 | — |
result.metrics.replies | integer | null親要素内で必須 | — |
result.metrics.repliesanyOf 1 | integer親要素内で必須 |
|
result.metrics.repliesanyOf 2 | null親要素内で必須 | — |
result.handled | boolean親要素内で必須 | — |
result.archived | boolean親要素内で必須 | — |
result.match_kind | string親要素内で必須 |
|
result.coverage | string親要素内で必須 |
|
result.sentiment | null親要素内で必須 | — |
完全なJSON Schema
{
"type": "object",
"properties": {
"result": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspace_id": {
"type": "string",
"format": "uuid"
},
"stream_id": {
"type": "string",
"format": "uuid"
},
"run_id": {
"type": "string",
"format": "uuid"
},
"revision": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"source": {
"type": "string",
"const": "hacker_news"
},
"source_item_id": {
"type": "string",
"pattern": "^[1-9][0-9]{0,15}$"
},
"canonical_url": {
"type": "string",
"pattern": "^https:\\/\\/news\\.ycombinator\\.com\\/item\\?id=[1-9][0-9]{0,15}$"
},
"title": {
"anyOf": [
{
"type": "string",
"maxLength": 500
},
{
"type": "null"
}
]
},
"excerpt": {
"anyOf": [
{
"type": "string",
"maxLength": 4000
},
{
"type": "null"
}
]
},
"author": {
"anyOf": [
{
"type": "string",
"maxLength": 100
},
{
"type": "null"
}
]
},
"published_at": {
"anyOf": [
{
"type": "string",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"format": "date-time"
},
{
"type": "null"
}
]
},
"retrieved_at": {
"type": "string",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"format": "date-time"
},
"source_checked_at": {
"type": "string",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"format": "date-time"
},
"expires_at": {
"type": "string",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"format": "date-time"
},
"availability": {
"type": "string",
"enum": [
"available",
"removed",
"expired",
"unavailable"
]
},
"metrics": {
"type": "object",
"properties": {
"score": {
"anyOf": [
{
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"replies": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
}
},
"required": [
"score",
"replies"
],
"additionalProperties": false
},
"handled": {
"type": "boolean"
},
"archived": {
"type": "boolean"
},
"match_kind": {
"type": "string",
"const": "literal_query_match"
},
"coverage": {
"type": "string",
"const": "partial_indexed_sample"
},
"sentiment": {
"type": "null"
}
},
"required": [
"id",
"workspace_id",
"stream_id",
"run_id",
"revision",
"source",
"source_item_id",
"canonical_url",
"title",
"excerpt",
"author",
"published_at",
"retrieved_at",
"source_checked_at",
"expires_at",
"availability",
"metrics",
"handled",
"archived",
"match_kind",
"coverage",
"sentiment"
],
"additionalProperties": false
}
},
"required": [
"result"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}ツール呼び出しの例
スキーマ確認済みの架空値の例です。認可されたID、準備済みメディア、確認済みの公開日時に置き換え、書き込み前に適格性を確認してください。このページはAPIを呼びません。
{
"name": "sosoapi_listening_results_get",
"arguments": {
"workspace_id": "11111111-1111-4111-8111-111111111111",
"id": "30000000-0000-4000-8000-000000000005"
}
}structuredContent
{
"result": {
"id": "30000000-0000-4000-8000-000000000005",
"workspace_id": "11111111-1111-4111-8111-111111111111",
"stream_id": "30000000-0000-4000-8000-000000000004",
"run_id": "30000000-0000-4000-8000-000000000009",
"revision": 1,
"source": "hacker_news",
"source_item_id": "9999999999999999",
"canonical_url": "https://news.ycombinator.com/item?id=9999999999999999",
"title": null,
"excerpt": null,
"author": null,
"published_at": null,
"retrieved_at": "2099-01-15T09:00:00Z",
"source_checked_at": "2099-01-15T09:00:00Z",
"expires_at": "2099-01-16T09:00:00Z",
"availability": "unavailable",
"metrics": {
"score": null,
"replies": null
},
"handled": false,
"archived": false,
"match_kind": "literal_query_match",
"coverage": "partial_indexed_sample",
"sentiment": null
}
}