upsert_project
Create or update a Chilli project by name and manage its description, active status, and owned sites; omitted fields remain unchanged.
Instructions
Adds a project or changes the existing one with the same name.
name: project name.
description: 1-2 sentences on what the project is about; the model rates saves against this description.
active: false = project finished: new saves are not rated for it, and top_saves without a project
skips it. Its old ratings are visible through top_saves(project=...) until re-rating (rerate --all).
own_sites: pages the owner publishes for this project, e.g. ["example.com", "github.com/owner/repo"]
(a domain covers its subdomains, a path covers everything below it). Saves and RSS entries from
them are the owner's own content: marked with own_project and left out of top_saves,
from_archive and feed_highlights. Replaces the whole list; [] clears it.
Omitted fields stay unchanged. A new project covers saves from now on; older ones are re-rated
by the owner on the server (python -m app.rerate).
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": {
"name": "<name>"
},
"name": "upsert_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| active | No | ||
| own_sites | No | ||
| description | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||