Skip to content

Twitter connector: align authenticated-user id Required flag with auto-populate prose #596

@coderabbitai

Description

@coderabbitai

Problem

Several tool sections in the Twitter connector reference page (src/content/docs/reference/agent-connectors/twitter.mdx) describe the authenticated user id parameter as being auto-populated from the OAuth token, yet the parameter tables still mark id as Required. This inconsistency will mislead developers about the actual payload they need to send.

Affected tools / line ranges (as of PR #593)

Tool Prose says Table says
twitter_post_retweet ID auto-fetched from session id → Required
twitter_post_like ID auto-determined from OAuth token id → Required
twitter_post_unlike (same pattern) id → Required
twitter_list_unfollow (same pattern) id → Required
twitter_list_unpin user ID auto-retrieved if not provided id → Required
(and other occurrences)

Approximate line ranges in twitter.mdx: ~362–378, 500–507, 545–552, 860–876.

Expected fix

Update scripts/sync-agent-connectors.js (or the upstream connector source metadata it reads) to set required: false for the id parameter on operations annotated with an "auto-populate from auth" marker, then regenerate the affected docs so the prose and the Required column are consistent everywhere this pattern appears.

References

/cc @saif-at-scalekit

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions