Skip to content

Commit 879358a

Browse files
committed
docs: openid auto set
1 parent 5c48eac commit 879358a

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

config/.claude/skills/http-api/SKILL.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,8 @@ curl -X GET 'https://your-env.api.tcloudbasegateway.com/v1/rdb/rest/course?selec
244244

245245
**Request Body**: JSON object or array of objects
246246

247+
> 💡 **Note about `_openid`**: When a user is logged in (using AccessToken authentication), the `_openid` field is **automatically populated by the server** with the current user's identity. You do NOT need to manually set this field in INSERT operations - the server will fill it automatically based on the authenticated user's session.
248+
247249
**Example**:
248250

249251
```bash

config/.claude/skills/relational-database-tool/SKILL.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ Call this through the MCP tool instead of embedding SQL in code.
7070
_openid VARCHAR(64) DEFAULT '' NOT NULL
7171
```
7272

73+
> 💡 **Note about `_openid`**: When a user is logged in, the `_openid` field is **automatically populated by the server** with the current user's identity. You do NOT need to manually set this field in INSERT operations - the server will fill it automatically based on the authenticated user's session.
74+
7375
Before calling this tool, **confirm**:
7476

7577
- The target tables and conditions are correct.

0 commit comments

Comments
 (0)