Documentation
¶
Index ¶
- func New(p provider.Provider, cfg config.Config, build BuildInfo) *mcp.Server
- type BuildInfo
- type ErrorOutput
- type GetPostInput
- type GetPostRepliesInput
- type GetProfileInput
- type GetProfilePostsInput
- type PostOutput
- type ProfileOutput
- type ProfilePostsOutput
- type RepliesOutput
- type SearchPostsInput
- type SearchPostsOutput
- type ServerInfoOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ErrorOutput ¶
type GetPostInput ¶
type GetPostInput struct {
Post string `json:"post" jsonschema:"canonical public Threads post URL"`
}
type GetPostRepliesInput ¶
type GetProfileInput ¶
type GetProfileInput struct {
Username string `json:"username" jsonschema:"public Threads username"`
}
type GetProfilePostsInput ¶
type PostOutput ¶
type PostOutput struct {
Post *domain.Post `json:"post,omitempty"`
Error *ErrorOutput `json:"error,omitempty"`
}
type ProfileOutput ¶
type ProfileOutput struct {
Profile *domain.Profile `json:"profile,omitempty"`
Error *ErrorOutput `json:"error,omitempty"`
}
type ProfilePostsOutput ¶
type ProfilePostsOutput struct {
Page *domain.Page[domain.Post] `json:"result,omitempty"`
Error *ErrorOutput `json:"error,omitempty"`
}
type RepliesOutput ¶
type RepliesOutput struct {
Page *domain.Page[domain.Reply] `json:"result,omitempty"`
Error *ErrorOutput `json:"error,omitempty"`
}
type SearchPostsInput ¶
type SearchPostsOutput ¶
type SearchPostsOutput struct {
Page *domain.Page[domain.Post] `json:"result,omitempty"`
Error *ErrorOutput `json:"error,omitempty"`
}
type ServerInfoOutput ¶
type ServerInfoOutput struct {
ServerName string `json:"server_name"`
ServerVersion string `json:"server_version"`
Commit string `json:"commit"`
BuildDate string `json:"build_date"`
SDKVersion string `json:"sdk_version"`
ProtocolVersion string `json:"protocol_version"`
ProviderName string `json:"provider_name"`
ProviderVersion string `json:"provider_version"`
ProviderMode string `json:"provider_mode"`
ProviderUserAgent string `json:"provider_user_agent"`
SupportedTools []string `json:"supported_tools"`
ExcludedTools []string `json:"excluded_tools"`
SupportedInputs []string `json:"supported_inputs"`
KnownLimitations []string `json:"known_limitations"`
}
Click to show internal directories.
Click to hide internal directories.