Repository navigation
connections.list health output too verbose #1647
Copy link
Copy link
Closed
Description
issue
for every connection, executor.coreTools.connections.list returns a lastHealth.responseSample with raw samples of last health probe. i think such sample data could be useful but mostly noise, too much got shoved to the context window
there is already a verbose?: boolean input on the tool, but verbose: false doesnt remove or trim responseSample, as of right now there is no way to ask for a leaner shape
reproduction
agent decides to call executor with
const def = await tools.executor.coreTools.connections.list({});
return JSON.stringify(def.data.connections, null, 2);getting this response:
{
"owner": "org",
// omitted
"oauthClientOwner": null,
"oauthScopeCount": null,
"lastHealth": {
"status": "healthy",
"httpStatus": 200,
"checkedAt": 1786696724654,
"responseSample": [
{
"path": "results.0.id",
"value": "393220"
},
{
"path": "results.0.type",
"value": "page"
},
{
"path": "results.0.status",
"value": "current"
},
{
"path": "results.0.title",
"value": "BaseSpace Sequence Hub Home"
},
{
"path": "results.0.position",
"value": "1"
},
{
"path": "results.0.extensions.position",
"value": "1"
},
{
"path": "results.0._links.webui",
"value": "/spaces/BS/pages/393220/BaseSpace+Sequence+Hub+Home"
},
{
"path": "results.0._links.edit",
"value": "/pages/resumedraft.action?draftId=393220"
},
{
"path": "results.0._links.tinyui",
"value": "/x/BAAG"
},
{
"path": "results.0._links.self",
"value": "https://confluence.illumina.com/rest/api/content/393220"
},
{
"path": "results.0._expandable.container",
"value": "/rest/api/space/BS"
},
{
"path": "results.0._expandable.metadata",
"value": ""
},
{
"path": "results.0._expandable.operations",
"value": ""
},
{
"path": "results.0._expandable.children",
"value": "/rest/api/content/393220/child"
},
{
"path": "results.0._expandable.restrictions",
"value": "/rest/api/content/393220/restriction/byOperation"
},
{
"path": "results.0._expandable.history",
"value": "/rest/api/content/393220/history"
},
{
"path": "results.0._expandable.ancestors",
"value": ""
},
{
"path": "results.0._expandable.body",
"value": ""
},
// the list continues
]
}
},
{Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Activity
Keep connection list health compact by default
Keep connection list health compact by default
Keep connection list health compact by default
Keep connection list health compact by default
Keep connection list health compact by default
Keep connection list health compact by default (UsefulSoftwareCo#1648)