Class McpSkillPage
java.lang.Object
com.soklet.McpSkillPage
- All Implemented Interfaces:
McpOperationResult
One immutable complete
skills/list page containing at most 32 skills.
Return this result directly, without a McpCompleteResult wrapper.
Registrations reference complete manifests; a skill is never split between
pages. Soklet derives descriptions and content identities from the registered
bundles rather than accepting replacement metadata or hashes from a handler.
The endpoint's Skills-list cache policy fixes scope and default freshness. A page may override only the time to live, subject to the framework's localization and security clamps. Result-level extension metadata does not replace a bundle's frontmatter.
- Author:
- Mark Allen
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classSingle-threaded builder for an immutable Skills page. -
Method Summary
Modifier and TypeMethodDescriptionstatic @NonNull McpSkillPage.Builderbuilder()booleanReturns the opaque cursor clients should supply for the next page.inthashCode()toString()
-
Method Details
-
builder
- Returns:
- an empty Skills-page builder
-
getSkillRegistrations
- Returns:
- immutable registration references in supplied order
-
getMetadata
- Returns:
- immutable result-level protocol extension metadata
-
getNextCursor
Returns the opaque cursor clients should supply for the next page. The application owns its integrity, authorization binding, expiry, page position, retained snapshot, content identities, and cross-node portability. A present empty string is preserved; Soklet does not mint or protect cursors.- Returns:
- next cursor, or empty when this is the final page
-
getCacheTimeToLiveOverride
- Returns:
- freshness override, or empty to use the endpoint default
-
equals
-
hashCode
-
toString
-