Skip to content

docs(integrations/stackone): add search and execute mode to StackOne#1735

Merged
koverholt merged 1 commit into
google:mainfrom
StackOneHQ:stackone-search-execute
May 6, 2026
Merged

docs(integrations/stackone): add search and execute mode to StackOne#1735
koverholt merged 1 commit into
google:mainfrom
StackOneHQ:stackone-search-execute

Conversation

@shashi-stackone

Copy link
Copy Markdown
Contributor

Summary

This PR adds docs for the mode="search_and_execute" shipped in stackone-adk 0.2.0 on the StackOne integration page.

Changes

Single file: docs/integrations/stackone.md. Two additive blocks, not much of restructuring of existing content:

  1. New ## Search and execute mode section between ## Use with agent and ## Available tools. Covers when to use the mode, the three costs of registering every tool definition (token overhead, payload limits, selection accuracy), a runnable Python code sample, and the tool_search to tool_execute flow.
  2. Four rows added to the Plugin parameters table: mode, search, execute, timeout.

Motivation & Benefits

When several SaaS providers are linked to a single StackOne account, the full tool catalog can exceed Gemini's hard limits on function declarations per request. mode="search_and_execute" keeps the registered tool count at two and lets the model discover and invoke the right tool at runtime via tool_search.

Verification

  • Code sample executed end-to-end against a real StackOne account using gemini-flash-latest. The agent invoked tool_search, then tool_execute, and returned the expected response.
  • mkdocs serve renders the page correctly: new section, Python code tab, and the four new parameter rows all display as expected.

References

Acceptance criteria

Per CONTRIBUTING.md:

  • Completeness and testability: code sample is functional and runnable; verified against a live account.
  • Value for developers: this mode is the recommended approach when several providers are linked, since the default mode can exceed Gemini's payload caps for large catalogs.
  • Publishability: no TOS violations or proprietary content.
  • Tested locally with mkdocs serve.
  • Matches the page's existing formatting conventions and uses American English.

@netlify

netlify Bot commented May 6, 2026

Copy link
Copy Markdown

Deploy Preview for adk-docs-preview ready!

Name Link
🔨 Latest commit 580e0ba
🔍 Latest deploy log https://app.netlify.com/projects/adk-docs-preview/deploys/69fb6d62f228c3000839831f
😎 Deploy Preview https://deploy-preview-1735--adk-docs-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@shashi-stackone shashi-stackone changed the title docs(integrations/stackone): add search and execute mode to StackOne Integration docs(integrations/stackone): add search and execute mode to StackOne May 6, 2026

@koverholt koverholt left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All changes LGTM, thanks for the updates!

@koverholt koverholt enabled auto-merge (squash) May 6, 2026 16:06
@koverholt

Copy link
Copy Markdown
Collaborator

@shashi-stackone, since this PR does not have "maintainers can modify" enabled, I'm not able to sync this branch with main. You'll need to update this branch w/ main, then it should auto-merge.

Documents mode="search_and_execute" shipped in stackone-adk 0.2.0 on the
StackOne integration page. Adds a new section between "Use with agent" and
"Available tools" with rationale (token overhead, payload limits, selection
accuracy), a runnable Python code sample, and an explanation of the
tool_search/tool_execute flow. Adds four rows to the Plugin parameters
table for mode, search, execute, and timeout.

Code sample verified end-to-end against a real StackOne account on
gemini-flash-latest.
auto-merge was automatically disabled May 6, 2026 16:33

Head branch was pushed to by a user without write access

@shashi-stackone shashi-stackone force-pushed the stackone-search-execute branch from 54a21e0 to 580e0ba Compare May 6, 2026 16:33
@shashi-stackone

Copy link
Copy Markdown
Contributor Author

Thank you so much @koverholt for quick response on this PR .. Updated branch with rebase. Should be good now.

@koverholt koverholt merged commit a503a36 into google:main May 6, 2026
6 checks passed
joefernandez pushed a commit that referenced this pull request May 19, 2026
Documents mode="search_and_execute" shipped in stackone-adk 0.2.0 on the
StackOne integration page. Adds a new section between "Use with agent" and
"Available tools" with rationale (token overhead, payload limits, selection
accuracy), a runnable Python code sample, and an explanation of the
tool_search/tool_execute flow. Adds four rows to the Plugin parameters
table for mode, search, execute, and timeout.

Code sample verified end-to-end against a real StackOne account on
gemini-flash-latest.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants