generate_linkedin_hooksGenerate LinkedIn hooks
Generate up to ten scrubbed opening hooks for a LinkedIn post topic.
Authorization and permissions
Requires a valid delegated OAuth token and access to the selected workspace.
- OAuth scope
mcp:ai- Workspace requirement
- Authorized workspace and current membership required
Current workspace member; mcp:ai scope, workspace AI quota, and MCP AI rate limit apply.
Input schema
{
"additionalProperties": false,
"properties": {
"team_id": {
"description": "Consented workspace ID.",
"minimum": 1,
"type": "integer"
},
"topic": {
"description": "Text input; whitespace-only input is rejected.",
"maxLength": 10000,
"minLength": 1,
"type": "string"
}
},
"required": [
"team_id",
"topic"
],
"type": "object"
}Result schema
{
"additionalProperties": false,
"properties": {
"hooks": {
"description": "Hooks.",
"items": {
"description": "Hooks item.",
"minLength": 1,
"type": "string"
},
"maxItems": 10,
"minItems": 1,
"type": "array"
}
},
"required": [
"hooks"
],
"type": "object"
}Example arguments
{
"team_id": 42,
"topic": "Why customer interviews fail when teams ask leading questions"
}Example result
{
"hooks": [
"Your customer interviews may be confirming assumptions—not challenging them."
]
}Errors and retry
Blank or over-10,000-character input is rejected. Provider and malformed-generation failures are safe to retry as a new generation.
The provider call is not idempotent. After a provider or ambiguous failure, retry only if another generation is acceptable.
Effects, limits, and source
Workspace roles, subscription and AI usage limits, approval rules, and server rate limits are enforced at call time. Rate-limit responses identify when to retry; scheduled work returns state rather than holding the request open.
free_tools.generators.apis.generate_hook → services.generate_hooks