Constraints

Rules the output must follow, referenced as constraintIds in prompts.

search_constraints read-only

Search or list constraints (rules the output must follow, e.g. "never use jargon"). Constraint ids can be referenced as constraintIds in create_prompt / update_prompt.

ParameterTypeRequiredDescription
pageintegerno1-based page number. Default: 1.
pageSize6 | 12 | 24 | 48 | 100noItems per page. The server only accepts these exact values. Default: 12.
sort"newest" | "most-upvoted" | "most-favorited"noSort order. Default: newest.
scope"public" | "mine" | "favorites" | "all"nopublic = community items, mine = the user's own items, favorites = items the user favorited, all = everything accessible to the user. Default: public.
searchstringnoFull-text search over title and description. Max 200 characters.
tagstringnoFilter by a single tag (exact match).
{
  "name": "search_constraints",
  "arguments": {}
}

get_constraint read-only

Fetch one constraint by id.

ParameterTypeRequiredDescription
idstringyesConstraint id.
{
  "name": "get_constraint",
  "arguments": {
    "id": "..."
  }
}

create_constraint write · non-destructive

Create a constraint. The returned id can be referenced in constraintIds on prompts.

ParameterTypeRequiredDescription
textstringyesThe constraint rule, e.g. "cite sources for claims".
isPublicbooleanyestrue publishes the item to the public community feed; false keeps it private to the user. Required: choose deliberately, server defaults are not applied.
tagsstring[]noTags for categorisation and tag-filtered search.
{
  "name": "create_constraint",
  "arguments": {
    "text": "...",
    "isPublic": false
  }
}

update_constraint write · non-destructive

Update a constraint in place. Constraints are not versioned: the previous text is overwritten without history.

ParameterTypeRequiredDescription
idstringyesConstraint id.
textstringyesNew constraint rule.
isPublicbooleannoOptionally change visibility.
tagsstring[]noTags for categorisation and tag-filtered search.
{
  "name": "update_constraint",
  "arguments": {
    "id": "...",
    "text": "..."
  }
}