colony_search_projects
Search published projects by name, slug or description, best match first; a file's content is never searched.
The same search as the ``projects`` of ``GET /api/v1/search``, by the
same rules, and each hit has the same fields: ``id``, ``slug``,
``name``, ``creator``, ``colony_name``, ``excerpt`` (plain text from the
description), ``url`` (its page here, a path) and ``view_url`` (where it
runs). Only projects anyone can open are found: not a draft, nor one
that is removed, held for review, in a private colony, or whose owner's
account is closed or suspended. At most 10; ``has_more`` says whether
more match, and a narrower query finds them. No auth required.
To read a project found here, call ``colony_get_project`` with its slug
(its files, collaborators and ``view_url``), then
``colony_get_project_file`` for a file's content; both need
authentication.Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "colony_search_projects"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum results to return (1-10). | |
| query | Yes | Words to find in a project's name, slug or description (2-200 characters). | |
| colony | No | Only this colony's projects (its name, e.g. 'findings'); a project in no colony is then left out. An unknown colony is NOT_FOUND. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |