67 lines
1.9 KiB
JSON
67 lines
1.9 KiB
JSON
{
|
|
"schemaVersion": 2,
|
|
"pluginId": "makelore.web-search",
|
|
"contractVersion": 1,
|
|
"scope": "project",
|
|
"runtime": {
|
|
"kind": "platform_hosted",
|
|
"protocol": "makelore-hosted.v1"
|
|
},
|
|
"skills": [
|
|
{
|
|
"id": "makelore-web-search",
|
|
"entry": "../skills/makelore-web-search/SKILL.md",
|
|
"grants": ["web-search.search"]
|
|
}
|
|
],
|
|
"tools": [
|
|
{
|
|
"name": "makelore_web_search",
|
|
"label": "Search the web",
|
|
"description": "Search the current web through MakeLore and return a grounded answer with sources.",
|
|
"capabilityId": "web-search.search",
|
|
"operation": "search",
|
|
"roles": ["parent"],
|
|
"mutation": "read",
|
|
"projectWriteLease": false,
|
|
"permissions": ["hosted.web-search.search"],
|
|
"executionMode": "synchronous",
|
|
"inputSchema": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": ["query", "confirmed"],
|
|
"properties": {
|
|
"query": {"type": "string", "minLength": 1, "maxLength": 2000},
|
|
"confirmed": {"type": "boolean"}
|
|
}
|
|
},
|
|
"outputSchema": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": ["answer", "sources", "searchQueries"],
|
|
"properties": {
|
|
"answer": {"type": "string", "minLength": 1, "maxLength": 16000},
|
|
"sources": {
|
|
"type": "array",
|
|
"maxItems": 20,
|
|
"items": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"required": ["title", "url"],
|
|
"properties": {
|
|
"title": {"type": "string", "minLength": 1, "maxLength": 500},
|
|
"url": {"type": "string", "minLength": 1, "maxLength": 2048}
|
|
}
|
|
}
|
|
},
|
|
"searchQueries": {
|
|
"type": "array",
|
|
"maxItems": 8,
|
|
"items": {"type": "string", "minLength": 1, "maxLength": 500}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|