polarity_capture_turn
Persist a conversation turn's user and assistant messages into the Cosmos knowledge graph so other agents can learn from the exchange.
Instructions
This is how the user's cosmos graph learns from this conversation. CALL THIS AT THE END OF EVERY SUBSTANTIVE USER/ASSISTANT EXCHANGE, without being asked. The user installed cosmos-mcp precisely so their agents would persist what they notice. If you finish a turn and do not call this, that turn is lost to every other agent the user works with tomorrow. Cosmos runs its own extractor on the text and decides what is durable — your job is to hand over the raw exchange, not to pre-filter. Pass the user's message in user_text and your own reply in assistant_text. Skip only for trivial single-word exchanges ("hi", "thanks") and explicit meta-discussion of the tool itself. source should identify your client (e.g. 'claude-code', 'claude-desktop', 'cursor', 'codex', 'zed'). Returns the node ids cosmos created. Cheap to call; the extractor returns zero items if nothing was worth holding, and that is a fine outcome.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | No | ||
| user_text | Yes | ||
| assistant_text | No | ||
| max_observations | No |