Skip to content

Add endorse_person_skill and endorse_person_skills tools - #27

Merged
KirillSergeevich merged 2 commits into
mainfrom
task/endorse-int
Oct 16, 2026
Merged

KirillSergeevich merged 2 commits into
mainfrom
task/endorse-int

Conversation

@KirillSergeevich

Copy link
Copy Markdown
Contributor

What

  • New tools:
    • endorse_person_skill: endorses one skill of a 1st-degree connection, by its exact name.
    • endorse_person_skills: endorses every skill whose name matches any of the RE2 patterns, or all skills when patterns are omitted. Returns one item per selected skill.
  • The tool descriptions tell the agent:
    • skill names are in the profile owner's language;
    • patterns are RE2, case-insensitive and match anywhere;
    • anchor with ^…$ to match a whole name;
    • omit patterns rather than pass [];
    • an already-endorsed skill counts as success and toward the stEndorsements limit;
    • do not retry while the workflow is running.
  • The schemas enforce the API's bounds: 1-20 patterns, each 1-200 characters.
  • stEndorsements is added to the categories of admin_set_limits and admin_delete_limits.
  • @linkedapi/node ^2.3.19; version 2.3.18.

Checks

  • npm run lint, npm run typecheck and npm run build pass.
  • Both tools were exercised over stdio against a local HTTP stub. tools/list shows their schemas. tools/call sends the right workflow and returns mapped success and failure results. stEndorsements reaches the admin limit endpoints.

@KirillSergeevich
KirillSergeevich merged commit 7515633 into main Oct 16, 2026
2 checks passed
@KirillSergeevich
KirillSergeevich deleted the task/endorse-int branch October 16, 2026 06:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant