Search JSON
A read-only search response contains `count` and `results`.
{
"count": 1,
"results": [
{
"id": "note_demo_001",
"xsec_token": "xsec_demo_token",
"title": "上海咖啡地图",
"user": "demo_user"
}
]
}
View fixture
Publish Draft
Publish commands stop at the publish button unless `--auto-publish` is set.
{
"status": "ready",
"action": "publish_image",
"published": false,
"message": "Draft is ready and waiting at the publish button."
}
View fixture
Agent Contracts
Use these commands when wiring Codex, Claude Code, OpenClaw, Cursor, Cline, or n8n.
xiaohongshu-skill contracts --command=search
xiaohongshu-skill selectors --owner=publish
python -m pytest tests/live -q -m live
Command reference