capabilities.work

Count hosted content in a chat message

One step with Microsoft Outlook. We can help you get access.

Look something up

Count hosted content in a chat message

Works with AI assistants

Use Microsoft Outlook: its OData Service for namespace microsoft.graph Chats.chat… lets you count hosted content in a chat message in a single step (GET /chats/{chat-id}/messages/{chatMessage-id}/hostedContents/$count). Microsoft Outlook also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.

  • How many hosted files are in a chat message?
  • Can I count hosted content items in a chat message?
Say it to your AI assistant
  • Count hosted content in message {message} of chat {chat}.
  • Tell me how many files hosted in chat {chat} message {message}.
For your developer

GET /chats/{chat-id}/messages/{chatMessage-id}/hostedContents/$count in OData Service for namespace microsoft.graph Chats.chat…. Full spec on APIs.io.