Templates · Entertainment

Invite friends to play

Invite online friends to a party for a game the user names.

Example template for a hypothetical gaming app. It is not taken from any shipping app. Rename the tools to match your own App Intents titles.

Tools this skill expects

  • Get Online Friends
  • Create Party

SKILL.md

Skills.skillsbundle/Skills/game-session/SKILL.md

---
name: game-session
description: Invite friends to play a game together. Use when the user asks to play with friends, start a party, or invite people to a game. Not for buying games.
---

# Invite friends to play

Use the Get Online Friends tool. If the user named friends, invite only them; otherwise ask who to invite.

Use the Create Party tool for the game they named.
Open in validator

Or install it into your bundle: npx siriskills add game-session --bundle MyApp/Skills.skillsbundle

View on GitHub · Improve this skill