Get Clan settings
get_clanGET ONLY the 'Clan' field of TitlePublicConfigurationModel. Clan - clans of the game for any genre: 4X alliances, midcore clans, casual teams. IsEnabled (empty = on) and Kinds: a map KindID -> kind; usually ONE kind with id 'clan' (then clients never pass KindID); a second kind (guild + club) is just another key. Each kind: Identity {NounKey - localization key of the word the player sees: Clan/Alliance/Guild/Team, DisplayName fallback, Icon}; Create {Gate (SegmentGate who may create), Price (PriceOption map: what creating costs, several payment options), NameMin/MaxLength (3/20), TagRequired, TagMin/MaxLength (2/5), DescriptionMaxLength/AnnouncementMaxLength (300), Emblem {Backgrounds, Symbols, Colors atlas keys}, Languages, Attributes (own clan attributes with allowed Values), RenamePrice, RenameCooldownHours, ReservedNames}; Membership {BaseCapacity (default 30), JoinModes (Open/Request/InviteOnly), DefaultJoinMode, JoinGate, ApplicationHours/InviteHours (72), MaxApplicationsPerPlayer (5)/PerClan (50), JoinCooldownHours (after leaving any clan), RejoinSameClanHours, TenureHoursForRewards (membership age before gifts and level rewards), MaxKicksPerDay (10)}; MemberStats {Power, Trophies: source PlayerLevel / CharacterLevel / CurrencyBalance (Key=CurrencyID) / Reported (the game reports it via CloudCode server.SetClanMemberStat), PowerTopN}; Roles {Roles: RoleID -> {Rank (higher = more power), NameKey, DisplayName, MaxCount, Permissions}, LeaderRoleID, DefaultRoleID, LeaderInactiveDays (leadership passes to the most senior active member)}; empty Roles = built-in leader/coleader/elder/member; built-in permissions: invite, manage_applications, kick, set_role, edit_info, edit_announcement, moderate_chat, create_request; any OTHER permission id is the game's own (e.g. start_rally) checked by the game via MyPermissions or server.HasClanPermission. Counters: CounterID -> {NameKey, Sources (TriggerSource list), Reset Never/Daily/Weekly, DailyCapPerMember} - own clan counters for rankings. Rankings {Metrics: Power, Level, Trophies, Members, counter:{id}; ByLanguage; ByRegion; PageSize}. Hooks: clan event (Created, Joined, Left, Kicked, RoleChanged, LeaderChanged, Updated, Donated, Helped, LevelUp, GiftCreated, Disbanded) -> CloudCode function name, run after the write. Progression {XpSources (TriggerSource list; events of members bring clan XP), DailyXpCapPerMember, Levels (explicit table; index 0 is LEVEL 2, level 1 needs 0 XP; each row RequiredXp, Capacity, RoleCaps, Perks: request_amount_percent, help_cap) or XpCurve/BaseXp/MaxLevel, CapacityPerLevel, LevelRewards (MilestoneDefinition list, RequiredProgress = clan level, every member present at that moment claims)}. Requests: RequestKindID -> {Type 'Resource' (members ask for a resource: Resources whitelist of VirtualCurrency or stackable Item with the asked Amount, Funding Donor (the donor pays) or System (free, like lives; SystemDailyCap per title per day), MaxPerDonor, DailyDonateCap, DonorReward per unit) or 'Help' (one tap help on the game's task key: MaxHelps, DailyHelpCap, DonorReward), Gate, CooldownMinutes, LifetimeHours, MaxOpenPerMember}. Gifts {Gifts: GiftID -> {Triggers (TriggerSource list, e.g. IapPurchase or StorePurchase of a member), Points (clan gift points), Content (ResourceGrant), ContentByLevel}, Levels (MilestoneDefinition list by gift points: gift levels and their rewards), LifetimeHours (72), ShowSender, IncludeSender}. A feature block left empty is off. Crypto and event tokens are never allowed in clan flows. Clan data of the game itself lives in DataCollections with the access rule Mode=Clan (ClanField = Indexed String field with the ClanID).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"title_id": "<title_id>"
},
"name": "get_clan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title_id | Yes | TitleID, для которого читаются данные. |