get_content_publishing_limit
Check remaining daily Instagram posts to avoid publishing limits. Determine how many more posts you can publish within the 24-hour period.
Instructions
Check how many posts you can still publish today. Instagram limits content publishing per 24-hour period.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/client.ts:365-375 (handler)The implementation of the get_content_publishing_limit method in the InstagramClient class, which makes a GET request to the Graph API.
async getContentPublishingLimit( accountId?: string ): Promise<IGPublishingLimit> { const id = accountId ?? this.aid(); const data = await this.request( "GET", `${id}/content_publishing_limit`, { params: { fields: "quota_usage,config,quota_duration" } } ); return data.data?.[0] ?? {}; } - src/index.ts:385-386 (handler)The tool handler case that calls c.getContentPublishingLimit() when the 'get_content_publishing_limit' tool is invoked.
case "get_content_publishing_limit": return JSON.stringify(await c.getContentPublishingLimit(), null, 2); - src/index.ts:142-146 (registration)The registration of the 'get_content_publishing_limit' tool in the TOOLS array, including its description and input schema.
name: "get_content_publishing_limit", description: "Check how many posts you can still publish today. Instagram limits content publishing per 24-hour period.", inputSchema: { type: "object" as const, properties: {} }, },