Skip to content

feat: add vk_stories_post_photo and vk_stories_post_video tools#9

Open
sergiygoncharov wants to merge 1 commit into
bulatko:masterfrom
sergiygoncharov:feat/stories
Open

feat: add vk_stories_post_photo and vk_stories_post_video tools#9
sergiygoncharov wants to merge 1 commit into
bulatko:masterfrom
sergiygoncharov:feat/stories

Conversation

@sergiygoncharov

Copy link
Copy Markdown

Summary

  • Adds vk_stories_post_photo — publish a photo story via 3-step upload (get server → upload → save)
  • Adds vk_stories_post_video — publish a video story via same pattern with video_file field
  • Both support: personal and community stories (group_id), URL or local file path, optional link button (link_text + link_url), add_to_news flag
  • Mirrors the existing vk_photos_upload_wall upload flow
  • Includes null/undefined params fix (see Fix: filter null and undefined params from VK API calls #4)

API

Test plan

  • Upload photo story from URL
  • Upload photo story from local file
  • Upload video story from URL
  • Upload community story (group_id param)

Note: live story publishing was skipped during review to avoid polluting the account feed. The upload flow is structurally identical to vk_photos_upload_wall which is already tested.

🤖 Generated with Claude Code

3-step upload flow (get upload server → upload file → stories.save)
mirroring the existing photo wall upload pattern. Supports:
- Personal and community stories (group_id param)
- URL or local file path as source
- Optional link button (link_text + link_url)
- add_to_news flag (default true)
Includes null/undefined params fix (see bulatko#4).

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant