Skip to content

fix(agents-sdk): remove obsolete /crud/ segment from SubAgent function and tool URLs - #3504

Open
Adityakk9031 wants to merge 1 commit into
inkeep:mainfrom
Adityakk9031:fix/agents-sdk-subagent-urls
Open

fix(agents-sdk): remove obsolete /crud/ segment from SubAgent function and tool URLs#3504
Adityakk9031 wants to merge 1 commit into
inkeep:mainfrom
Adityakk9031:fix/agents-sdk-subagent-urls

Conversation

@Adityakk9031

Copy link
Copy Markdown

Summary

This PR fixes broken API endpoints when creating function tools via \SubAgent.prototype.createFunctionTool\ in @inkeep/agents-sdk:

  • When the /crud/\ path segment was removed from manage API routes, \subAgent.ts\ still contained hardcoded /crud/projects/:projectId/functions\ and /crud/projects/:projectId/tools\ URLs, causing 404 Not Found responses when registering function tools.
  • Updated \ unctionUrl\ and \ oolUrl\ to use /manage/tenants/:tenantId/projects/:projectId/functions\ and /manage/tenants/:tenantId/projects/:projectId/tools.
  • Added unit test coverage in \subagent.test.ts\ verifying that functions and tools are registered with valid project endpoints without /crud/.

Verification

  • \pnpm --filter @inkeep/agents-sdk exec vitest --run\ passes (255/255 tests pass across 25 suites).
  • \pnpm --filter @inkeep/agents-sdk typecheck\ passes with zero errors.

@changeset-bot

changeset-bot Bot commented Aug 15, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: edeb063

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 10 packages
Name Type
@inkeep/agents-sdk Patch
@inkeep/agents-api Patch
@inkeep/agents-manage-ui Patch
@inkeep/agents-cli Patch
@inkeep/agents-core Patch
@inkeep/agents-email Patch
@inkeep/agents-mcp Patch
@inkeep/agents-work-apps Patch
@inkeep/ai-sdk-provider Patch
@inkeep/create-agents Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions

Copy link
Copy Markdown
Contributor

Thanks for the contribution!

What happens next:

  • A maintainer will review your PR.
  • If you don't hear back within a few business days, please comment here to nudge our team.
  • This repository is maintained through an internal mirror. When your change is accepted, this PR will close automatically. Don't be alarmed when it closes — that's how it merges, and your authorship is preserved.

@Adityakk9031

Copy link
Copy Markdown
Author

@tim-inkeep have a look

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