Drill into a big payload with handles, dot-paths and projections - instead of paying for all of it.
Uses: CLI
When a tool returns more than 4 KB, the CLI stores the payload locally and hands back a handle plus a shape preview, rather than printing everything. For an agent this is the difference between spending a few hundred tokens and blowing the context window on one call.
You now know the response is 2,841 items and what one looks like - without having read any of it.
Pull only what you need
engini tools result h42 --select items.email # a dot-path; maps over the listengini tools result h42 --fields id,name,email # project keys, per itemengini tools result h42 --select items --offset 0 --limit 20 # page the listengini tools result h42 --select items[0].address.city # index into itengini tools result h42 --full # the entire payload
--select applied to a list maps over it, so items.email returns every email rather than erroring. A path that doesn’t exist yields null instead of throwing - safe to probe.
Manage the sandbox
engini tools result --list # known handles, newest first, with age and sizeengini tools result --clear # wipe them
Stored results live under $XDG_CACHE_HOME/engini/results/ (%APPDATA% on Windows), auto-pruned to the 20 most recent and anything older than 24h.
Handles are short-lived and local. They don’t survive a pruning, another machine, or a CI runner that gets torn down. Drill in during the same session; if you need the data later, write it to a file with --full.
Use these in CI, where you want the whole thing in a file. Keep the default when an agent is driving.
Why this matters for agents
The wrong pattern is a tool call returning 2,841 contacts straight into the model’s context. The right one is three cheap steps:
engini tools call crm_list_contacts --args '{}' # 1. shape + previewengini tools result h42 --select items --fields name,email --limit 25 # 2. just enoughengini tools result h42 --select items.email # 3. the specific field
The model sees a summary, then requests precisely the slice it needs. Pair it with --llm openai|anthropic, which formats a result as that vendor’s tool-result message so it can be handed straight back into the conversation:
There’s no handle mechanism in the SDKs - you already hold the object in memory, so slice it in your own language. Handles exist because the CLI’s boundary is a pipe, where “hold it and slice it later” isn’t otherwise possible.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Engini Docs","colors":{"primary":"#5533FF","light":"#D4CCFD","dark":"#0C0C0C"},"logo":{"light":"https://mintcdn.com/engini/AklLlExJ3eAXOGtW/logo/engini-lockup-light.svg?fit=max\u0026auto=format\u0026n=AklLlExJ3eAXOGtW\u0026q=85\u0026s=c0debedd989ac1aae7434afcf8929a79","dark":"https://mintcdn.com/engini/AklLlExJ3eAXOGtW/logo/engini-lockup-dark.svg?fit=max\u0026auto=format\u0026n=AklLlExJ3eAXOGtW\u0026q=85\u0026s=21df93b2081ea3e02ddd60b93533ee87"},"favicon":{"light":"https://mintcdn.com/engini/i8sQTvfL0BFarJoA/logo/favicon-light-theme.png?fit=max\u0026auto=format\u0026n=i8sQTvfL0BFarJoA\u0026q=85\u0026s=cd4460dad6b41e8f324c74cb2cdaefcf","dark":"https://mintcdn.com/engini/i8sQTvfL0BFarJoA/logo/favicon-dark-theme.png?fit=max\u0026auto=format\u0026n=i8sQTvfL0BFarJoA\u0026q=85\u0026s=b68510adf1642927b33d448bcb7bbae2"},"navbar":{"links":[{"href":"/help/getting-started/what-is-engini","label":"Help Center"},{"href":"/developers","label":"Developers"},{"href":"mailto:support@engini.io","label":"Support"}],"primary":{"type":"button","label":"Open engini","href":"https://app.engini.io"}},"footer":{"socials":{"website":"https://engini.ai","github":"https://github.com/engini"}},"fonts":{"heading":{"family":"Space Grotesk"},"body":{"family":"Inter"}},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"engini","hasAudioNarration":false,"actualSubdomain":"engini","customDomains":["docs.engini.ai"],"gitSource":{"type":"github","owner":"engini","repo":"engini-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6afeb1f945f7499c2565e8cb","clientVersion":"0.0.4270","searchFilterCounts":[{"language":"default","tag":"Help Center","count":158},{"language":"default","tag":"Apps","count":142},{"language":"default","tag":"Developers","count":140},{"language":"default","tag":"API Reference","count":90},{"language":"default","tag":"Endpoints","count":89},{"language":"default","tag":"Guides","count":39},{"language":"default","tag":"Release Notes","count":35},{"language":"default","tag":"Tutorials","count":26},{"language":"default","tag":"Connections","count":23},{"language":"default","tag":"Triggers","count":22}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[{"filePath":"style.css","content":"#topbar-cta-button>a::before{content:\"\";position:relative;z-index:10;display:block;flex:none;width:1.15em;height:1.15em;margin-right:0.4em;background-color:#ffffff;-webkit-mask:url(\"/logo/engini-symbol-mono.svg\") no-repeat center / contain;mask:url(\"/logo/engini-symbol-mono.svg\") no-repeat center / contain}.dark #topbar-cta-button>a>span{background-color:#5533ff}[data-component-part=\"products-selector-trigger\"]{display:none}@media (min-width: 1024px){#navbar div:has(>nav[aria-label=\"Main\"]),#navbar nav[aria-label=\"Main\"],#navbar nav[aria-label=\"Main\"]>ul{display:contents}#navbar div:has(>[data-component-part=\"products-selector-trigger\"]){flex:none}#navbar nav[aria-label=\"Main\"] li,#navbar div:has(>#theme-preference-menu-trigger){order:3}#navbar nav[aria-label=\"Main\"] li:has(>a[href=\"/help/getting-started/what-is-engini\"]),#navbar nav[aria-label=\"Main\"] li:has(>a[href=\"/developers\"]){order:1}#navbar nav[aria-label=\"Main\"] li:has(>a[href=\"/developers\"]){margin-right:0}#navbar div:has(>#search-bar-entry){order:2;flex:0 1 26rem;margin-inline:auto}}body:not(:has(#engini-home)) #navbar:has(a[aria-current=\"location\"][href^=\"/help\"]) nav[aria-label=\"Main\"] a[href=\"/help/getting-started/what-is-engini\"],body:not(:has(#engini-home)) #navbar:has(a[aria-current=\"location\"][href^=\"/developers\"]) nav[aria-label=\"Main\"] a[href=\"/developers\"]{color:rgb(var(--primary))}:is(.dark) body:not(:has(#engini-home)) #navbar:has(a[aria-current=\"location\"][href^=\"/help\"]) nav[aria-label=\"Main\"] a[href=\"/help/getting-started/what-is-engini\"],:is(.dark) body:not(:has(#engini-home)) #navbar:has(a[aria-current=\"location\"][href^=\"/developers\"]) nav[aria-label=\"Main\"] a[href=\"/developers\"]{color:rgb(var(--primary-light))}body:has(#engini-home) #navbar div:has(>.nav-tabs){display:none}body:has(#engini-home):has(#navbar div>.nav-tabs){--topbar-tabs-height: 0rem}"}]}
{"page":{"pagePath":"developers/cookbook/large-tool-results","slug":"/developers/cookbook/large-tool-results","pageMetadata":{"title":"Work with large tool results","description":"Drill into a big payload with handles, dot-paths and projections - instead of paying for all of it.","href":"/developers/cookbook/large-tool-results"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Drill into a big payload with handles, dot-paths and projections - instead of paying for all of it.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,..._provideComponents(),...props.components},{CodeBlock,Heading,Info,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(Info,{children:[_jsx(_components.strong,{children:`Uses:`}),` CLI`]}),`\n`,_jsxs(_components.p,{children:[`When a tool returns more than 4 KB, the CLI stores the payload locally and hands back a `,_jsx(_components.strong,{children:`handle`}),` plus a shape preview, rather than printing everything. For an agent this is the difference between spending a few hundred tokens and blowing the context window on one call.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`engini`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` tools`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` call`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` crm_list_contacts`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --args`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{}'`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# -> { \"handle\": \"h42\", \"shape\": { \"items\": { \"type\": \"array\", \"length\": 2841, ... } }, \"preview\": { ... } }`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`You now know the response is 2,841 items and what one looks like - without having read any of it.`}),`\n`,_jsx(Heading,{level:`2`,id:`pull-only-what-you-need`,children:`Pull only what you need`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`engini`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` tools`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` result`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` h42`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --select`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` items.email`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # a dot-path; maps over the list`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`engini`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` tools`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` result`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` h42`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --fields`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` id,name,email`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # project keys, per item`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`engini`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` tools`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` result`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` h42`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --select`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` items`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --offset`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 0`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --limit`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 20`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # page the list`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`engini`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` tools`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` result`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` h42`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --select`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` items[0].address.city`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # index into it`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`engini`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` tools`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` result`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` h42`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --full`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # the entire payload`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`--select`}),` applied to a list `,_jsx(_components.strong,{children:`maps over it`}),`, so `,_jsx(_components.code,{children:`items.email`}),` returns every email rather than erroring. A path that doesn’t exist yields `,_jsx(_components.code,{children:`null`}),` instead of throwing - safe to probe.`]}),`\n`,_jsx(Heading,{level:`2`,id:`manage-the-sandbox`,children:`Manage the sandbox`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`engini`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` tools`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` result`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --list`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # known handles, newest first, with age and size`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`engini`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` tools`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` result`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --clear`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # wipe them`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Stored results live under `,_jsx(_components.code,{children:`$XDG_CACHE_HOME/engini/results/`}),` (`,_jsx(_components.code,{children:`%APPDATA%`}),` on Windows), auto-pruned to the 20 most recent and anything older than 24h.`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Handles are `,_jsx(_components.strong,{children:`short-lived and local`}),`. They don’t survive a pruning, another machine, or a CI runner that gets torn down. Drill in during the same session; if you need the data later, write it to a file with `,_jsx(_components.code,{children:`--full`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`bypassing-it`,children:`Bypassing it`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`engini`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` tools`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` call`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` crm_list_contacts`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --args`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{}'`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --inline`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # full payload inline`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`engini`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` tools`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` call`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` crm_list_contacts`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --args`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{}'`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --max-bytes`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 0`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # never spill`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`engini`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` tools`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` call`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` crm_list_contacts`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --args`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{}'`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --raw`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # verbatim output, no envelope`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Use these in `,_jsx(_components.a,{href:`/developers/cookbook/run-engini-ci-cd`,children:`CI`}),`, where you want the whole thing in a file. Keep the default when an agent is driving.`]}),`\n`,_jsx(Heading,{level:`2`,id:`why-this-matters-for-agents`,children:`Why this matters for agents`}),`\n`,_jsx(_components.p,{children:`The wrong pattern is a tool call returning 2,841 contacts straight into the model’s context. The right one is three cheap steps:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`engini`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` tools`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` call`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` crm_list_contacts`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --args`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{}'`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # 1. shape + preview`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`engini`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` tools`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` result`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` h42`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --select`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` items`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --fields`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` name,email`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --limit`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:` 25`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # 2. just enough`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`engini`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` tools`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` result`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` h42`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --select`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` items.email`}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` # 3. the specific field`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`The model sees a summary, then requests precisely the slice it needs. Pair it with `,_jsx(_components.code,{children:`--llm openai|anthropic`}),`, which formats a result as that vendor’s tool-result message so it can be handed straight back into the conversation:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`engini`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` tools`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` call`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` crm_get_contact`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --args`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{\"id\":\"123\"}'`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --llm`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` anthropic`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --tool-call-id`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` call_1`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`in-the-sdks`,children:`In the SDKs`}),`\n`,_jsx(_components.p,{children:`There’s no handle mechanism in the SDKs - you already hold the object in memory, so slice it in your own language. Handles exist because the CLI’s boundary is a pipe, where “hold it and slice it later” isn’t otherwise possible.`})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Work with large tool results","description":"Drill into a big payload with handles, dot-paths and projections - instead of paying for all of it.","href":"/developers/cookbook/large-tool-results"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Pull only what you need","slug":"pull-only-what-you-need","depth":2,"children":[]},{"title":"Manage the sandbox","slug":"manage-the-sandbox","depth":2,"children":[]},{"title":"Bypassing it","slug":"bypassing-it","depth":2,"children":[]},{"title":"Why this matters for agents","slug":"why-this-matters-for-agents","depth":2,"children":[]},{"title":"In the SDKs","slug":"in-the-sdks","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/engini/4837fd513836c58c/posthog.js"],"subdomain":"engini","siteName":"Engini Docs","title":"Work with large tool results - Engini Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-08T10:39:34.247Z","originalFileLocation":"developers/cookbook/large-tool-results.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Drill into a big payload with handles, dot-paths and projections - instead of paying for all of it.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Engini Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/engini/o6JYIjfH8wvKkeNu/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/engini/o6JYIjfH8wvKkeNu/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/engini/o6JYIjfH8wvKkeNu/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/engini/o6JYIjfH8wvKkeNu/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/engini/o6JYIjfH8wvKkeNu/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/engini/o6JYIjfH8wvKkeNu/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/engini/o6JYIjfH8wvKkeNu/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/engini/o6JYIjfH8wvKkeNu/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/engini/o6JYIjfH8wvKkeNu/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Work with large tool results - Engini Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Drill into a big payload with handles, dot-paths and projections - instead of paying for all of it.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Engini Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.engini.ai/developers/cookbook/large-tool-results\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://engini.mintlify.site/_mintlify/api/og/v2?division=Automate\u0026amp;title=Work+with+large+tool+results\u0026amp;description=Drill+into+a+big+payload+with+handles%2C+dot-paths+and+projections+-+instead+of+paying+for+all+of+it.\u0026amp;theme=83bfac60ebabbb324d46e845\u0026amp;signature=0c20a5145a0abc2f9213147a6db5a566568cd9241e2a122e897a850b4912fbd8\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Work with large tool results - Engini Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Drill into a big payload with handles, dot-paths and projections - instead of paying for all of it.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://engini.mintlify.site/_mintlify/api/og/v2?division=Automate\u0026amp;title=Work+with+large+tool+results\u0026amp;description=Drill+into+a+big+payload+with+handles%2C+dot-paths+and+projections+-+instead+of+paying+for+all+of+it.\u0026amp;theme=83bfac60ebabbb324d46e845\u0026amp;signature=0c20a5145a0abc2f9213147a6db5a566568cd9241e2a122e897a850b4912fbd8\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/engini/o6JYIjfH8wvKkeNu/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Engini Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#5533FF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.engini.ai/developers/cookbook/large-tool-results\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/developers/cookbook/large-tool-results.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.engini.ai/#organization\",\"name\":\"Engini Docs\",\"url\":\"https://docs.engini.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/engini/AklLlExJ3eAXOGtW/logo/engini-lockup-light.svg?fit=max\u0026auto=format\u0026n=AklLlExJ3eAXOGtW\u0026q=85\u0026s=c0debedd989ac1aae7434afcf8929a79\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.engini.ai#website\",\"name\":\"Engini Docs\",\"url\":\"https://docs.engini.ai\",\"publisher\":{\"@id\":\"https://docs.engini.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.engini.ai/developers/cookbook/large-tool-results#webpage\",\"url\":\"https://docs.engini.ai/developers/cookbook/large-tool-results\",\"name\":\"Work with large tool results\",\"description\":\"Drill into a big payload with handles, dot-paths and projections - instead of paying for all of it.\",\"dateModified\":\"2026-10-08T10:39:34.247Z\",\"isPartOf\":{\"@id\":\"https://docs.engini.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.engini.ai/developers/cookbook/large-tool-results#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.engini.ai/developers/cookbook/large-tool-results#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Automate\",\"item\":\"https://docs.engini.ai/developers/cookbook/cli-walkthrough\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Work with large tool results\",\"item\":\"https://docs.engini.ai/developers/cookbook/large-tool-results\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.engini.ai/developers/cookbook/large-tool-results#article\",\"headline\":\"Work with large tool results\",\"name\":\"Work with large tool results\",\"description\":\"Drill into a big payload with handles, dot-paths and projections - instead of paying for all of it.\",\"url\":\"https://docs.engini.ai/developers/cookbook/large-tool-results\",\"mainEntityOfPage\":{\"@id\":\"https://docs.engini.ai/developers/cookbook/large-tool-results#webpage\"},\"dateModified\":\"2026-10-08T10:39:34.247Z\",\"publisher\":{\"@id\":\"https://docs.engini.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.engini.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Engini Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Engini Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/developers/cookbook/large-tool-results.md","siteName":"Engini Docs","nav":{"global":null,"products":[{"product":"Help Center","icon":"circle-question","description":"Use Engini","pages":[{"title":"Help Center","href":"/help/getting-started/what-is-engini"}]},{"product":"Developers","icon":"code","description":"Build on Engini","tabs":[{"tab":"Get Started","pages":[{"title":"Get Started","href":"/developers"}]},{"tab":"Cookbook","groups":[{"group":"Start here","pages":[{"title":"Cookbook","href":"/developers/cookbook"}]},{"group":"Connect apps","pages":[{"title":"Connect a customer's app (OAuth)","href":"/developers/cookbook/connect-customer-app"},{"title":"Sync a database connection's objects","href":"/developers/cookbook/sync-database-objects"}]},{"group":"Run tools","pages":[{"title":"REST API walkthrough (cURL)","href":"/developers/cookbook/rest-api-walkthrough"},{"title":"Page through a large catalog","href":"/developers/cookbook/page-through-large-catalog"},{"title":"Debug a failed tool call","href":"/developers/cookbook/debug-failed-tool-call"}]},{"group":"Build agents","pages":[{"title":"Scope an agent with a toolset","href":"/developers/cookbook/scope-agent-toolset"},{"title":"Build a monday.com assistant","href":"/developers/cookbook/build-monday-assistant"},{"title":"Build a Slack assistant","href":"/developers/cookbook/build-slack-assistant"},{"title":"Gmail agent with file attachments","href":"/developers/cookbook/gmail-agent-attachments"},{"title":"Automate GitHub from an agent or a pipeline","href":"/developers/cookbook/automate-github"},{"title":"Priority ERP assistant","href":"/developers/cookbook/priority-erp-assistant"}]},{"group":"React to events","pages":[{"title":"Receive trigger events on a webhook","href":"/developers/cookbook/receive-trigger-events-webhook"},{"title":"Debug and replay a failed delivery","href":"/developers/cookbook/debug-replay-failed-delivery"},{"title":"Develop a trigger locally","href":"/developers/cookbook/develop-trigger-locally"}]},{"group":"Automate","pages":[{"title":"CLI walkthrough (human \u0026 agent)","href":"/developers/cookbook/cli-walkthrough"},{"title":"Run Engini in CI/CD","href":"/developers/cookbook/run-engini-ci-cd"},{"title":"Sync CRM data on a schedule","description":"Pull records from one system and push them to another, on a cron, with no LLM in the loop.","href":"/developers/cookbook/sync-crm-data-schedule"},{"title":"Work with large tool results","href":"/developers/cookbook/large-tool-results"},{"title":"Scripted automation (no LLM)","description":"The SDK as a plain typed API client - the shape of a cron job or data sync.","href":"/developers/cookbook/scripted-automation"}]}]},{"tab":"SDK","pages":[{"title":"SDK","href":"/developers/sdk"}]},{"tab":"CLI","pages":[{"title":"CLI","href":"/developers/cli"}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/developers/api-reference"}]},{"tab":"For AI Agents","pages":[{"title":"For AI Agents","href":"/developers/ai-agents"}]}]}]},"basePath":"","title":"Work with large tool results - Engini Docs","deploymentId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","buildId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","dynamics":[],"chunks":[]}