כלי MCP
העברת שיחת מחקר לארכיון
sosoapi_research_conversations_archiveהעברת טקסט שיחה פרטי לארכיון וביטול ניתוח פעיל באמצעות expected_revision; עותקי תמצית שמורים נשארים נפרדים. נדרשת agent:research.
קריאה בפורמט Markdownפרופילים ואמצעי תעבורה
פרופילים: full · אמצעי תעבורה: stdio, http
בחרו core או full כדי לשלוט בכלים שהלקוח רואה; הבחירה אינה משנה את ההרשאות שלו. העלאת קבצים מקומיים דורשת stdio ואינה זמינה דרך HTTP. הגדירו SOSOAPI_OUTPUT_SCHEMAS=1 להכללת סכמות פלט בגילוי הכלים. הכלים מחזירים תוצאות מובנות עם ההגדרה הזו או בלעדיה.
הרשאות והשפעות לוואי
הערות המטא-נתונים עוזרות ללקוחות לתאר כלי. כל קריאה עדיין בודקת את אימות המשתמש, תפקידו, גישתו למשאבים והרשאות היכולות שלו.
{
"readOnlyHint": false,
"destructiveHint": true,
"idempotentHint": true,
"openWorldHint": true
}- /research-api/conversations/archive: agent:research · העברה לארכיון וביטול עבודה ממתינה שנשמרו
שדות קלט
שדה חובה נדרש בתוך אובייקט האב והענף הנבחר שלו. צאצא נדרש אינו הופך אב אופציונלי לנדרש. הכללים ושמות השדות שלהלן מועתקים מהחוזה.
| שדה / ענף | סוג / חובה | אילוצים |
|---|---|---|
$ | objectחובה באובייקט האב |
|
workspace_id | stringחובה באובייקט האב |
|
mutation_id | stringחובה באובייקט האב |
|
conversation_id | stringחובה באובייקט האב |
|
expected_revision | integerחובה באובייקט האב |
|
JSON Schema מלא
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"format": "uuid"
},
"mutation_id": {
"type": "string",
"format": "uuid"
},
"conversation_id": {
"type": "string",
"format": "uuid"
},
"expected_revision": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"workspace_id",
"mutation_id",
"conversation_id",
"expected_revision"
],
"additionalProperties": false
}פלט מובנה
הסכמה מתארת את structuredContent בתוצאת כלי מוצלחת. תגובת MCP כוללת גם content ועשויה להגדיר isError כשקריאה נכשלת. בפרסום, קראו את התוצאה הסופית של הפוסט במקום לראות בבקשה שהתקבלה או בתגובת טקסט אישור. פעולת ה-API המקושרת מסבירה הרשאות וכללי ניסיון חוזר.
שדה חובה נדרש בתוך אובייקט האב והענף הנבחר שלו. צאצא נדרש אינו הופך אב אופציונלי לנדרש. הכללים ושמות השדות שלהלן מועתקים מהחוזה.
| שדה / ענף | סוג / חובה | אילוצים |
|---|---|---|
$ | objectחובה באובייקט האב |
|
conversation | objectחובה באובייקט האב |
|
conversation.id | stringחובה באובייקט האב |
|
conversation.workspace_id | stringחובה באובייקט האב |
|
conversation.revision | integerחובה באובייקט האב |
|
conversation.title | string | nullחובה באובייקט האב | — |
conversation.titleanyOf 1 | stringחובה באובייקט האב |
|
conversation.titleanyOf 2 | nullחובה באובייקט האב | — |
conversation.context | objectחובה באובייקט האב |
|
conversation.context.project_id | stringחובה באובייקט האב |
|
conversation.context.project_revision | integerחובה באובייקט האב |
|
conversation.context.corpus_snapshot_id | stringחובה באובייקט האב |
|
conversation.context.evidence | arrayחובה באובייקט האב |
|
conversation.context.evidence[] | objectרשות / פריט |
|
conversation.context.evidence[].evidence_id | stringחובה באובייקט האב |
|
conversation.context.evidence[].revision | integerחובה באובייקט האב |
|
conversation.language | stringחובה באובייקט האב |
|
conversation.archived | booleanחובה באובייקט האב | — |
conversation.availability | stringחובה באובייקט האב |
|
conversation.created_at | stringחובה באובייקט האב |
|
conversation.expires_at | stringחובה באובייקט האב |
|
messages | arrayחובה באובייקט האב |
|
messages[] | objectרשות / פריט |
|
messages[].id | stringחובה באובייקט האב |
|
messages[].run_id | stringחובה באובייקט האב |
|
messages[].role | stringחובה באובייקט האב |
|
messages[].question | string | nullחובה באובייקט האב | — |
messages[].questionanyOf 1 | stringחובה באובייקט האב |
|
messages[].questionanyOf 2 | nullחובה באובייקט האב | — |
messages[].answer | object | nullחובה באובייקט האב | — |
messages[].answeranyOf 1 | objectחובה באובייקט האב |
|
messages[].answer.answeranyOf 1 | objectחובה באובייקט האב |
|
messages[].answer.answer.statementanyOf 1 | stringחובה באובייקט האב |
|
messages[].answer.answer.basisanyOf 1 | stringחובה באובייקט האב |
|
messages[].answer.answer.evidenceanyOf 1 | arrayחובה באובייקט האב |
|
messages[].answer.answer.evidence[]anyOf 1 | objectרשות / פריט |
|
messages[].answer.answer.evidence[].evidence_idanyOf 1 | stringחובה באובייקט האב |
|
messages[].answer.answer.evidence[].revisionanyOf 1 | integerחובה באובייקט האב |
|
messages[].answer.answer.uncertaintyanyOf 1 | stringחובה באובייקט האב |
|
messages[].answer.findingsanyOf 1 | arrayחובה באובייקט האב |
|
messages[].answer.findings[]anyOf 1 | objectרשות / פריט |
|
messages[].answer.findings[].statementanyOf 1 | stringחובה באובייקט האב |
|
messages[].answer.findings[].basisanyOf 1 | stringחובה באובייקט האב |
|
messages[].answer.findings[].evidenceanyOf 1 | arrayחובה באובייקט האב |
|
messages[].answer.findings[].evidence[]anyOf 1 | objectרשות / פריט |
|
messages[].answer.findings[].evidence[].evidence_idanyOf 1 | stringחובה באובייקט האב |
|
messages[].answer.findings[].evidence[].revisionanyOf 1 | integerחובה באובייקט האב |
|
messages[].answer.findings[].uncertaintyanyOf 1 | stringחובה באובייקט האב |
|
messages[].answer.sentimentanyOf 1 | arrayחובה באובייקט האב |
|
messages[].answer.sentiment[]anyOf 1 | objectרשות / פריט |
|
messages[].answer.sentiment[].evidence_idanyOf 1 | stringחובה באובייקט האב |
|
messages[].answer.sentiment[].revisionanyOf 1 | integerחובה באובייקט האב |
|
messages[].answer.sentiment[].labelanyOf 1 | stringחובה באובייקט האב |
|
messages[].answer.sentiment[].uncertaintyanyOf 1 | stringחובה באובייקט האב |
|
messages[].answer.query_suggestionsanyOf 1 | arrayחובה באובייקט האב |
|
messages[].answer.query_suggestions[]anyOf 1 | objectרשות / פריט |
|
messages[].answer.query_suggestions[].queryanyOf 1 | stringחובה באובייקט האב |
|
messages[].answer.query_suggestions[].excluded_termsanyOf 1 | arrayחובה באובייקט האב |
|
messages[].answer.query_suggestions[].excluded_terms[]anyOf 1 | stringרשות / פריט |
|
messages[].answer.query_suggestions[].evidenceanyOf 1 | arrayחובה באובייקט האב |
|
messages[].answer.query_suggestions[].evidence[]anyOf 1 | objectרשות / פריט |
|
messages[].answer.query_suggestions[].evidence[].evidence_idanyOf 1 | stringחובה באובייקט האב |
|
messages[].answer.query_suggestions[].evidence[].revisionanyOf 1 | integerחובה באובייקט האב |
|
messages[].answer.query_suggestions[].rationaleanyOf 1 | stringחובה באובייקט האב |
|
messages[].answer.limitationsanyOf 1 | arrayחובה באובייקט האב |
|
messages[].answer.limitations[]anyOf 1 | stringרשות / פריט |
|
messages[].answer.quantitative_claimsanyOf 1 | booleanחובה באובייקט האב |
|
messages[].answer.method_versionanyOf 1 | stringחובה באובייקט האב |
|
messages[].answeranyOf 2 | nullחובה באובייקט האב | — |
messages[].created_at | stringחובה באובייקט האב |
|
messages[].expires_at | stringחובה באובייקט האב |
|
runs | arrayחובה באובייקט האב |
|
runs[] | objectרשות / פריט |
|
runs[].id | stringחובה באובייקט האב |
|
runs[].workspace_id | stringחובה באובייקט האב |
|
runs[].conversation_id | stringחובה באובייקט האב |
|
runs[].conversation_revision | integerחובה באובייקט האב |
|
runs[].generation | integerחובה באובייקט האב |
|
runs[].request_kind | stringחובה באובייקט האב |
|
runs[].status | stringחובה באובייקט האב |
|
runs[].failure_code | string | nullחובה באובייקט האב | — |
runs[].failure_codeanyOf 1 | stringחובה באובייקט האב |
|
runs[].failure_codeanyOf 2 | nullחובה באובייקט האב | — |
runs[].created_at | stringחובה באובייקט האב |
|
runs[].expires_at | stringחובה באובייקט האב |
|
runs[].processor | stringחובה באובייקט האב |
|
runs[].model_id | string | nullחובה באובייקט האב | — |
runs[].model_idanyOf 1 | stringחובה באובייקט האב |
|
runs[].model_idanyOf 2 | nullחובה באובייקט האב | — |
runs[].model_version | string | nullחובה באובייקט האב | — |
runs[].model_versionanyOf 1 | stringחובה באובייקט האב |
|
runs[].model_versionanyOf 2 | nullחובה באובייקט האב | — |
availability | objectחובה באובייקט האב |
|
availability.configured | booleanחובה באובייקט האב | — |
availability.reason | string | nullחובה באובייקט האב | — |
availability.reasonanyOf 1 | stringחובה באובייקט האב |
|
availability.reasonanyOf 2 | nullחובה באובייקט האב | — |
availability.processor | stringחובה באובייקט האב |
|
availability.retention_hours | numberחובה באובייקט האב |
|
JSON Schema מלא
{
"type": "object",
"properties": {
"conversation": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspace_id": {
"type": "string",
"format": "uuid"
},
"revision": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"title": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 200
},
{
"type": "null"
}
]
},
"context": {
"type": "object",
"properties": {
"project_id": {
"type": "string",
"format": "uuid"
},
"project_revision": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"corpus_snapshot_id": {
"type": "string",
"format": "uuid"
},
"evidence": {
"minItems": 1,
"maxItems": 20,
"type": "array",
"items": {
"type": "object",
"properties": {
"evidence_id": {
"type": "string",
"format": "uuid"
},
"revision": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"evidence_id",
"revision"
],
"additionalProperties": false
}
}
},
"required": [
"project_id",
"project_revision",
"corpus_snapshot_id",
"evidence"
],
"additionalProperties": false
},
"language": {
"type": "string",
"minLength": 1,
"maxLength": 35
},
"archived": {
"type": "boolean"
},
"availability": {
"type": "string",
"enum": [
"available",
"expired",
"source_unavailable",
"access_changed",
"archived"
]
},
"created_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"
}
},
"required": [
"id",
"workspace_id",
"revision",
"title",
"context",
"language",
"archived",
"availability",
"created_at",
"expires_at"
],
"additionalProperties": false
},
"messages": {
"maxItems": 40,
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"run_id": {
"type": "string",
"format": "uuid"
},
"role": {
"type": "string",
"enum": [
"user",
"assistant"
]
},
"question": {
"anyOf": [
{
"type": "string",
"maxLength": 2000
},
{
"type": "null"
}
]
},
"answer": {
"anyOf": [
{
"type": "object",
"properties": {
"answer": {
"type": "object",
"properties": {
"statement": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"basis": {
"type": "string",
"enum": [
"observed",
"inferred",
"generated"
]
},
"evidence": {
"minItems": 1,
"maxItems": 20,
"type": "array",
"items": {
"type": "object",
"properties": {
"evidence_id": {
"type": "string",
"format": "uuid"
},
"revision": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"evidence_id",
"revision"
],
"additionalProperties": false
}
},
"uncertainty": {
"type": "string",
"maxLength": 1000
}
},
"required": [
"statement",
"basis",
"evidence",
"uncertainty"
],
"additionalProperties": false
},
"findings": {
"maxItems": 12,
"type": "array",
"items": {
"type": "object",
"properties": {
"statement": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"basis": {
"type": "string",
"enum": [
"observed",
"inferred",
"generated"
]
},
"evidence": {
"minItems": 1,
"maxItems": 20,
"type": "array",
"items": {
"type": "object",
"properties": {
"evidence_id": {
"type": "string",
"format": "uuid"
},
"revision": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"evidence_id",
"revision"
],
"additionalProperties": false
}
},
"uncertainty": {
"type": "string",
"maxLength": 1000
}
},
"required": [
"statement",
"basis",
"evidence",
"uncertainty"
],
"additionalProperties": false
}
},
"sentiment": {
"maxItems": 20,
"type": "array",
"items": {
"type": "object",
"properties": {
"evidence_id": {
"type": "string",
"format": "uuid"
},
"revision": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"label": {
"type": "string",
"enum": [
"positive",
"negative",
"neutral",
"mixed",
"unknown"
]
},
"uncertainty": {
"type": "string",
"maxLength": 1000
}
},
"required": [
"evidence_id",
"revision",
"label",
"uncertainty"
],
"additionalProperties": false
}
},
"query_suggestions": {
"maxItems": 5,
"type": "array",
"items": {
"type": "object",
"properties": {
"query": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"excluded_terms": {
"maxItems": 20,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"evidence": {
"minItems": 1,
"maxItems": 20,
"type": "array",
"items": {
"type": "object",
"properties": {
"evidence_id": {
"type": "string",
"format": "uuid"
},
"revision": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"evidence_id",
"revision"
],
"additionalProperties": false
}
},
"rationale": {
"type": "string",
"minLength": 1,
"maxLength": 1000
}
},
"required": [
"query",
"excluded_terms",
"evidence",
"rationale"
],
"additionalProperties": false
}
},
"limitations": {
"minItems": 1,
"maxItems": 10,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 1000
}
},
"quantitative_claims": {
"type": "boolean",
"const": false
},
"method_version": {
"type": "string",
"const": "research-cited/v1"
}
},
"required": [
"answer",
"findings",
"sentiment",
"query_suggestions",
"limitations",
"quantitative_claims",
"method_version"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"created_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"
}
},
"required": [
"id",
"run_id",
"role",
"question",
"answer",
"created_at",
"expires_at"
],
"additionalProperties": false
}
},
"runs": {
"maxItems": 20,
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"workspace_id": {
"type": "string",
"format": "uuid"
},
"conversation_id": {
"type": "string",
"format": "uuid"
},
"conversation_revision": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"generation": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"request_kind": {
"type": "string",
"enum": [
"question",
"overview",
"themes",
"audiences",
"sentiment",
"query_suggestions"
]
},
"status": {
"type": "string",
"enum": [
"queued",
"processing",
"completed",
"failed",
"cancelled",
"expired",
"unavailable"
]
},
"failure_code": {
"anyOf": [
{
"type": "string",
"enum": [
"not_configured",
"budget_exhausted",
"access_changed",
"source_unavailable",
"context_changed",
"input_too_large",
"provider_unavailable",
"generation_unconfirmed",
"invalid_output",
"cancelled",
"expired",
"conversation_full"
]
},
{
"type": "null"
}
]
},
"created_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"
},
"processor": {
"type": "string",
"const": "Google Gemini"
},
"model_id": {
"anyOf": [
{
"type": "string",
"maxLength": 128
},
{
"type": "null"
}
]
},
"model_version": {
"anyOf": [
{
"type": "string",
"maxLength": 128
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"workspace_id",
"conversation_id",
"conversation_revision",
"generation",
"request_kind",
"status",
"failure_code",
"created_at",
"expires_at",
"processor",
"model_id",
"model_version"
],
"additionalProperties": false
}
},
"availability": {
"type": "object",
"properties": {
"configured": {
"type": "boolean"
},
"reason": {
"anyOf": [
{
"type": "string",
"enum": [
"not_configured",
"budget_exhausted",
"access_changed",
"source_unavailable",
"context_changed",
"input_too_large",
"provider_unavailable",
"generation_unconfirmed",
"invalid_output",
"cancelled",
"expired",
"conversation_full"
]
},
{
"type": "null"
}
]
},
"processor": {
"type": "string",
"const": "Google Gemini"
},
"retention_hours": {
"type": "number",
"const": 24
}
},
"required": [
"configured",
"reason",
"processor",
"retention_hours"
],
"additionalProperties": false
}
},
"required": [
"conversation",
"messages",
"runs",
"availability"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}דוגמת קריאה לכלי
הדוגמאות משתמשות בערכים בדויים שנבדקו מול הסכמות. החליפו את המזהים בכאלה שאתם מורשים להשתמש בהם, את המדיה בנכסים מוכנים ואת התאריכים במועד הפרסום שאישרתם. בדקו את התאמת החשבון לפני שליחת כתיבה. העמוד הזה אינו שולח בקשות API.
{
"name": "sosoapi_research_conversations_archive",
"arguments": {
"workspace_id": "11111111-1111-4111-8111-111111111111",
"mutation_id": "11111111-1111-4111-8111-111111111111",
"conversation_id": "11111111-1111-4111-8111-111111111111",
"expected_revision": 1
}
}structuredContent
{
"conversation": {
"id": "11111111-1111-4111-8111-111111111111",
"workspace_id": "11111111-1111-4111-8111-111111111111",
"revision": 1,
"title": null,
"context": {
"project_id": "11111111-1111-4111-8111-111111111111",
"project_revision": 1,
"corpus_snapshot_id": "11111111-1111-4111-8111-111111111111",
"evidence": [
{
"evidence_id": "11111111-1111-4111-8111-111111111111",
"revision": 1
}
]
},
"language": "example",
"archived": false,
"availability": "available",
"created_at": "2099-01-15T09:00:00Z",
"expires_at": "2099-01-15T09:00:00Z"
},
"messages": [],
"runs": [],
"availability": {
"configured": false,
"reason": null,
"processor": "Google Gemini",
"retention_hours": 24
}
}